diff options
-rw-r--r-- | nuttx/examples/nx/nx_internal.h | 4 |
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 |