From 95110279468dd1cb284259285d9da3c10706e8eb Mon Sep 17 00:00:00 2001 From: Joakim Gebart <joakim.gebart@eistec.se> Date: Mon, 18 May 2015 07:02:53 +0200 Subject: [PATCH] cortexm: CMSIS: Replace tabs by spaces --- cpu/cortexm_common/include/core_cm0.h | 4 ++-- cpu/cortexm_common/include/core_cm0plus.h | 4 ++-- cpu/cortexm_common/include/core_cm3.h | 4 ++-- cpu/cortexm_common/include/core_cm4.h | 4 ++-- cpu/cortexm_common/include/core_cm7.h | 4 ++-- cpu/cortexm_common/include/core_cmFunc.h | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/cpu/cortexm_common/include/core_cm0.h b/cpu/cortexm_common/include/core_cm0.h index cf2b5d66ba..a78a2c3f6a 100644 --- a/cpu/cortexm_common/include/core_cm0.h +++ b/cpu/cortexm_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/cortexm_common/include/core_cm0plus.h b/cpu/cortexm_common/include/core_cm0plus.h index 123cb400a2..1677999ccd 100644 --- a/cpu/cortexm_common/include/core_cm0plus.h +++ b/cpu/cortexm_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 diff --git a/cpu/cortexm_common/include/core_cm3.h b/cpu/cortexm_common/include/core_cm3.h index 092ee23da9..5b0fa193a2 100644 --- a/cpu/cortexm_common/include/core_cm3.h +++ b/cpu/cortexm_common/include/core_cm3.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/cortexm_common/include/core_cm4.h b/cpu/cortexm_common/include/core_cm4.h index 9749c27d24..c15421cf17 100644 --- a/cpu/cortexm_common/include/core_cm4.h +++ b/cpu/cortexm_common/include/core_cm4.h @@ -171,8 +171,8 @@ #define __FPU_USED 0 #endif -#elif defined ( __CSMC__ ) /* Cosmic */ - #if ( __CSMC__ & 0x400) // FPU present for parser +#elif defined ( __CSMC__ ) /* Cosmic */ + #if ( __CSMC__ & 0x400) /* FPU present for parser */ #if (__FPU_PRESENT == 1) #define __FPU_USED 1 #else diff --git a/cpu/cortexm_common/include/core_cm7.h b/cpu/cortexm_common/include/core_cm7.h index 842e323f67..7adb52b94f 100644 --- a/cpu/cortexm_common/include/core_cm7.h +++ b/cpu/cortexm_common/include/core_cm7.h @@ -171,8 +171,8 @@ #define __FPU_USED 0 #endif -#elif defined ( __CSMC__ ) /* Cosmic */ - #if ( __CSMC__ & 0x400) // FPU present for parser +#elif defined ( __CSMC__ ) /* Cosmic */ + #if ( __CSMC__ & 0x400) /* FPU present for parser */ #if (__FPU_PRESENT == 1) #define __FPU_USED 1 #else diff --git a/cpu/cortexm_common/include/core_cmFunc.h b/cpu/cortexm_common/include/core_cmFunc.h index 4eee28b5f3..c586b3e64a 100644 --- a/cpu/cortexm_common/include/core_cmFunc.h +++ b/cpu/cortexm_common/include/core_cmFunc.h @@ -552,7 +552,7 @@ __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_BASEPRI(uint32_t v /** \brief Set Base Priority with condition This function assigns the given value to the Base Priority register only if BASEPRI masking is disabled, - or the new value increases the BASEPRI priority level. + or the new value increases the BASEPRI priority level. \param [in] basePri Base Priority value to set */ -- GitLab