summaryrefslogtreecommitdiff
path: root/nuttx/examples/nx/nx_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-05 14:04:37 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-05 14:04:37 +0000
commitb8214d16130991c2b10b548fdb00195f77347d79 (patch)
tree531848ea08696154e8a12e59a6ecb0582187a11e /nuttx/examples/nx/nx_internal.h
parent1379fe5ea1d7f32ce48238bd2ad16637d55a38ba (diff)
downloadpx4-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/nx/nx_internal.h')
-rw-r--r--nuttx/examples/nx/nx_internal.h6
1 files changed, 3 insertions, 3 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