From f44266675e1d65d7e479496d837f17b7da1ababf Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 20 Oct 2012 16:07:49 +0000 Subject: Several bugfixes contributed by Petteri Aimonen git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5238 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/nximage/nximage_main.c | 3 ++- apps/examples/nxtext/nxtext_main.c | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/examples') 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 -- cgit v1.2.3