aboutsummaryrefslogtreecommitdiff
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
commitf44266675e1d65d7e479496d837f17b7da1ababf (patch)
tree7b344f74705f7a44e4fddc333d13767ad89792de /apps/examples
parent736ac8982a3388fd6e5f96f0587e05b8c09bfd61 (diff)
downloadpx4-firmware-f44266675e1d65d7e479496d837f17b7da1ababf.tar.gz
px4-firmware-f44266675e1d65d7e479496d837f17b7da1ababf.tar.bz2
px4-firmware-f44266675e1d65d7e479496d837f17b7da1ababf.zip
Several bugfixes contributed by Petteri Aimonen
git-svn-id: http://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