mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
Reference in New Issue
Block a user