diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-05 14:04:37 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-05 14:04:37 +0000 |
commit | b8214d16130991c2b10b548fdb00195f77347d79 (patch) | |
tree | 531848ea08696154e8a12e59a6ecb0582187a11e /nuttx/examples | |
parent | 1379fe5ea1d7f32ce48238bd2ad16637d55a38ba (diff) | |
download | px4-nuttx-b8214d16130991c2b10b548fdb00195f77347d79.tar.gz px4-nuttx-b8214d16130991c2b10b548fdb00195f77347d79.tar.bz2 px4-nuttx-b8214d16130991c2b10b548fdb00195f77347d79.zip |
Clean-up and document NX configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1420 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples')
-rw-r--r-- | nuttx/examples/nx/nx_internal.h | 6 | ||||
-rw-r--r-- | nuttx/examples/nx/nx_server.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/examples/nx/nx_internal.h b/nuttx/examples/nx/nx_internal.h index af3f34ba3..7e1594d68 100644 --- a/nuttx/examples/nx/nx_internal.h +++ b/nuttx/examples/nx/nx_internal.h @@ -52,8 +52,8 @@ /* Configuration ************************************************************/ -#ifndef CONFIG_NXGRAPHICS -# error "NX is not enabled (CONFIG_NXGRAPHICS)" +#ifndef CONFIG_NX +# error "NX is not enabled (CONFIG_NX)" #endif #ifndef CONFIG_EXAMPLES_NX_VPLANE @@ -278,7 +278,7 @@ extern nxgl_mxpixel_t g_tbcolor[CONFIG_NX_NPLANES]; * Public Function Prototypes ****************************************************************************/ -#if defined(CONFIG_NXGRAPHICS) && defined(CONFIG_NX_MULTIUSER) +#if defined(CONFIG_NX) && defined(CONFIG_NX_MULTIUSER) extern int nx_servertask(int argc, char *argv[]); extern FAR void *nx_listenerthread(FAR void *arg); #endif diff --git a/nuttx/examples/nx/nx_server.c b/nuttx/examples/nx/nx_server.c index f983fa2bf..1ac3258aa 100644 --- a/nuttx/examples/nx/nx_server.c +++ b/nuttx/examples/nx/nx_server.c @@ -51,7 +51,7 @@ #include <nuttx/nx.h> #include "nx_internal.h" -#if defined(CONFIG_NXGRAPHICS) && defined(CONFIG_NX_MULTIUSER) +#ifdef CONFIG_NX_MULTIUSER /**************************************************************************** * Definitions @@ -106,4 +106,4 @@ int nx_servertask(int argc, char *argv[]) return 3; } -#endif
\ No newline at end of file +#endif /* CONFIG_NX_MULTIUSER */
\ No newline at end of file |