diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-30 18:52:14 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-30 18:52:14 +0000 |
commit | 69ef693d6f964404ef5d278f2f29ab7d26022f04 (patch) | |
tree | f887bf513a8c177d5d1e9a46f1315b460e0e9b93 /nuttx/examples | |
parent | 80d2acc36b46011fde95cb9f12f2b3d4f44e9683 (diff) | |
download | px4-nuttx-69ef693d6f964404ef5d278f2f29ab7d26022f04.tar.gz px4-nuttx-69ef693d6f964404ef5d278f2f29ab7d26022f04.tar.bz2 px4-nuttx-69ef693d6f964404ef5d278f2f29ab7d26022f04.zip |
There is at least some X11 output now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1361 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples')
-rw-r--r-- | nuttx/examples/nx/nx_internal.h | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/nuttx/examples/nx/nx_internal.h b/nuttx/examples/nx/nx_internal.h index fa3120906..40bf62059 100644 --- a/nuttx/examples/nx/nx_internal.h +++ b/nuttx/examples/nx/nx_internal.h @@ -54,19 +54,37 @@ #endif #ifndef CONFIG_EXAMPLES_NX_VPLANE -# define CONFIG_EXAMPLES_NX_VPLANE 0 +# define CONFIG_EXAMPLES_NX_VPLANE 0 #endif #ifndef CONFIG_EXAMPLES_NX_BGCOLOR -# define CONFIG_EXAMPLES_NX_BGCOLOR ' ' +# if CONFIG_SIM_FBBPP == 24 || CONFIG_SIM_FBBPP == 32 +# define CONFIG_EXAMPLES_NX_BGCOLOR 0x00602020 +# elif CONFIG_SIM_FBBPP = 16 +# define CONFIG_EXAMPLES_NX_BGCOLOR 0x3088 +# else +# define CONFIG_EXAMPLES_NX_BGCOLOR ' ' +# endif #endif #ifndef CONFIG_EXAMPLES_NX_COLOR1 -# define CONFIG_EXAMPLES_NX_COLOR1 '1' +# if CONFIG_SIM_FBBPP == 24 || CONFIG_SIM_FBBPP == 32 +# define CONFIG_EXAMPLES_NX_COLOR1 0x00606020 +# elif CONFIG_SIM_FBBPP = 16 +# define CONFIG_EXAMPLES_NX_COLOR1 0x30c8 +# else +# define CONFIG_EXAMPLES_NX_COLOR1 '1' +# endif #endif #ifndef CONFIG_EXAMPLES_NX_COLOR2 -# define CONFIG_EXAMPLES_NX_COLOR2 '2' +# if CONFIG_SIM_FBBPP == 24 || CONFIG_SIM_FBBPP == 32 +# define CONFIG_EXAMPLES_NX_COLOR2 0x00606060 +# elif CONFIG_SIM_FBBPP = 16 +# define CONFIG_EXAMPLES_NX_COLOR2 0x30cc +# else +# define CONFIG_EXAMPLES_NX_COLOR2 '2' +# endif #endif #ifdef CONFIG_NX_MULTIUSER |