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
This commit is contained in:
patacongo
2008-12-05 14:04:37 +00:00
parent b702a15c16
commit fc099a5d34
18 changed files with 235 additions and 86 deletions
+3 -3
View File
@@ -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
+2 -2
View File
@@ -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
#endif /* CONFIG_NX_MULTIUSER */