summaryrefslogtreecommitdiff
path: root/nuttx/examples/nx/nx_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-29 18:12:54 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-29 18:12:54 +0000
commit398540bcd51792bdf838b5a57c9255d5e7c0c6ed (patch)
tree2a4fea786165b142aaccf2af125d87d0268ab8d3 /nuttx/examples/nx/nx_internal.h
parentf338333a0495e5b46dc8adaf06964b0f496cb0d2 (diff)
downloadpx4-nuttx-398540bcd51792bdf838b5a57c9255d5e7c0c6ed.tar.gz
px4-nuttx-398540bcd51792bdf838b5a57c9255d5e7c0c6ed.tar.bz2
px4-nuttx-398540bcd51792bdf838b5a57c9255d5e7c0c6ed.zip
Add configuration check
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1350 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nx/nx_internal.h')
-rw-r--r--nuttx/examples/nx/nx_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/examples/nx/nx_internal.h b/nuttx/examples/nx/nx_internal.h
index ce1f61771..b01fa5db6 100644
--- a/nuttx/examples/nx/nx_internal.h
+++ b/nuttx/examples/nx/nx_internal.h
@@ -49,6 +49,10 @@
/* Configuration ************************************************************/
+#ifndef CONFIG_NXGRAPHICS
+# error "NX is not enabled (CONFIG_NXGRAPHICS)"
+#endif
+
#ifndef CONFIG_EXAMPLES_NX_VPLANE
# define CONFIG_EXAMPLES_NX_VPLANE 0
#endif