diff --git a/examples/touchscreen/Kconfig b/examples/touchscreen/Kconfig index 15f149e29..f493ea893 100644 --- a/examples/touchscreen/Kconfig +++ b/examples/touchscreen/Kconfig @@ -29,7 +29,7 @@ config EXAMPLES_TOUCHSCREEN_DEVPATH config EXAMPLES_TOUCHSCREEN_NSAMPLES int "Number of samples" default 0 - depends on NSH_BUILTIN_APPS + depends on !NSH_BUILTIN_APPS ---help--- If NSH_BUILTIN_APPS is defined, then the number of touchscreen samples is provided on the command line and this value is ignored.