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:
parent
de909c5c48
commit
b2210c3a25
@ -95,7 +95,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_MTDPART_NPARTITIONS
|
||||
#ifndef CONFIG_EXAMPLES_MTDPART_NPARTITIONS
|
||||
# define CONFIG_EXAMPLES_MTDPART_NPARTITIONS 3
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user