In apps/examples/mtdpart/mtdpart_main.c where CONFIG_EXAMPLES_MTDPART_NPARTITIONS defining is checked should be #ifndef instead of #ifdef. Noted by Oleg Evseev

This commit is contained in:
Gregory Nutt 2017-01-30 07:28:51 -06:00
parent de909c5c48
commit b2210c3a25

View File

@ -95,7 +95,7 @@
#endif #endif
#ifdef CONFIG_EXAMPLES_MTDPART_NPARTITIONS #ifndef CONFIG_EXAMPLES_MTDPART_NPARTITIONS
# define CONFIG_EXAMPLES_MTDPART_NPARTITIONS 3 # define CONFIG_EXAMPLES_MTDPART_NPARTITIONS 3
#endif #endif