diff --git a/cpu/cortex-m0_common/include/core_cm0.h b/cpu/cortex-m0_common/include/core_cm0.h index 5186cb4838..87d8e32bc4 100644 --- a/cpu/cortex-m0_common/include/core_cm0.h +++ b/cpu/cortex-m0_common/include/core_cm0.h @@ -138,8 +138,8 @@ #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" #endif -#elif defined ( __CSMC__ ) /* Cosmic */ - #if ( __CSMC__ & 0x400) // FPU present for parser +#elif defined ( __CSMC__ ) /* Cosmic */ + #if ( __CSMC__ & 0x400) /* FPU present for parser */ #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" #endif #endif diff --git a/cpu/cortex-m0_common/include/core_cm0plus.h b/cpu/cortex-m0_common/include/core_cm0plus.h index 17e43984fc..bb2f8764ee 100644 --- a/cpu/cortex-m0_common/include/core_cm0plus.h +++ b/cpu/cortex-m0_common/include/core_cm0plus.h @@ -138,8 +138,8 @@ #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" #endif -#elif defined ( __CSMC__ ) /* Cosmic */ - #if ( __CSMC__ & 0x400) // FPU present for parser +#elif defined ( __CSMC__ ) /* Cosmic */ + #if ( __CSMC__ & 0x400) /* FPU present for parser */ #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" #endif #endif