summaryrefslogtreecommitdiff
path: root/apps/examples
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-20 16:07:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-20 16:07:49 +0000
commit12bfabec70065f7994f91a9b315e2b69892b0a57 (patch)
tree7b344f74705f7a44e4fddc333d13767ad89792de /apps/examples
parent69a2786e6d69fc3b478a1f1458312e4bb20260d1 (diff)
downloadpx4-nuttx-12bfabec70065f7994f91a9b315e2b69892b0a57.tar.gz
px4-nuttx-12bfabec70065f7994f91a9b315e2b69892b0a57.tar.bz2
px4-nuttx-12bfabec70065f7994f91a9b315e2b69892b0a57.zip
Several bugfixes contributed by Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5238 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples')
-rw-r--r--apps/examples/nximage/nximage_main.c3
-rw-r--r--apps/examples/nxtext/nxtext_main.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/apps/examples/nximage/nximage_main.c b/apps/examples/nximage/nximage_main.c
index 729fcc53f..c432d8a73 100644
--- a/apps/examples/nximage/nximage_main.c
+++ b/apps/examples/nximage/nximage_main.c
@@ -263,9 +263,10 @@ int nximage_main(int argc, char *argv[])
}
message("nximage_main: Screen resolution (%d,%d)\n", g_nximage.xres, g_nximage.yres);
- /* Now, put up the NuttX logo. */
+ /* Now, put up the NuttX logo and wait a bit so that it visible. */
nximage_image(g_nximage.hbkgd);
+ sleep(5);
/* Release background */
diff --git a/apps/examples/nxtext/nxtext_main.c b/apps/examples/nxtext/nxtext_main.c
index 9a4b8eea4..2a1b50355 100644
--- a/apps/examples/nxtext/nxtext_main.c
+++ b/apps/examples/nxtext/nxtext_main.c
@@ -96,7 +96,6 @@
* Private Data
****************************************************************************/
-#ifdef CONFIG_NX_KBD
static const uint8_t g_pumsg[] = "Pop-Up!";
static const char *g_bgmsg[BGMSG_LINES] =
{
@@ -125,7 +124,6 @@ static const char *g_bgmsg[BGMSG_LINES] =
"I must be gone and live,\n", /* Line 23 */
" or stay and die.\n" /* Line 24 */
};
-#endif
/****************************************************************************
* Public Data