diff options
Diffstat (limited to 'os/common/ports/ARMCMx')
-rw-r--r-- | os/common/ports/ARMCMx/devices/STM32F3xx/cmparams.h | 2 | ||||
-rw-r--r-- | os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os/common/ports/ARMCMx/devices/STM32F3xx/cmparams.h b/os/common/ports/ARMCMx/devices/STM32F3xx/cmparams.h index 04e400949..12f2b31f4 100644 --- a/os/common/ports/ARMCMx/devices/STM32F3xx/cmparams.h +++ b/os/common/ports/ARMCMx/devices/STM32F3xx/cmparams.h @@ -74,7 +74,7 @@ assembler source files. We verify that the info matches instead.*/
#include "stm32f3xx.h"
-#if !CORTEX_HAS_FPU != !__FPU_PRESENT
+#if CORTEX_HAS_FPU != __FPU_PRESENT
#error "CMSIS __FPU_PRESENT mismatch"
#endif
diff --git a/os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h b/os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h index 3104d0d6c..0f8b090b7 100644 --- a/os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h +++ b/os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h @@ -74,7 +74,7 @@ assembler source files. We verify that the info matches instead.*/
#include "stm32f4xx.h"
-#if !CORTEX_HAS_FPU != !__FPU_PRESENT
+#if CORTEX_HAS_FPU != __FPU_PRESENT
#error "CMSIS __FPU_PRESENT mismatch"
#endif
|