diff --git a/boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h b/boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h index 32725132e0..f3abd4a97c 100644 --- a/boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h +++ b/boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h @@ -134,7 +134,7 @@ /* Module symbol table */ -#if !defined(CONFIG_EXAMPLES_MODULE) || defined(CONFIG_BUILD_FLAT) +#if !defined(CONFIG_EXAMPLES_MODULE) || !defined(CONFIG_BUILD_FLAT) # undef HAVE_MODSYMS #endif