From b53489d0e4252aafe5ada7466e0b3b7c4ad5aaaf Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 5 Mar 2015 21:28:51 +0000 Subject: Lots of MISRA-related changes in RT. Not finished yet. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7715 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/ports/ARMCMx/devices/STM32F3xx/cmparams.h | 2 +- os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'os/common/ports/ARMCMx') 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 -- cgit v1.2.3