aboutsummaryrefslogtreecommitdiff
path: root/apps/examples
diff options
context:
space:
mode:
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