[bsp][gd32450z-eval] Formating files to pass the CI check

This commit is contained in:
iysheng 2021-06-10 00:01:28 +08:00
parent f070d64021
commit f2734c0a54
4 changed files with 108 additions and 108 deletions

View File

@ -100,7 +100,7 @@
#define __INLINE inline /*!< inline keyword for TASKING Compiler */ #define __INLINE inline /*!< inline keyword for TASKING Compiler */
#define __STATIC_INLINE static inline #define __STATIC_INLINE static inline
#elif defined ( __CSMC__ ) /* Cosmic */ #elif defined ( __CSMC__ ) /* Cosmic */
#define __packed #define __packed
#define __ASM _asm /*!< asm keyword for COSMIC Compiler */ #define __ASM _asm /*!< asm keyword for COSMIC Compiler */
#define __INLINE inline /*use -pc99 on compile line !< inline keyword for COSMIC Compiler */ #define __INLINE inline /*use -pc99 on compile line !< inline keyword for COSMIC Compiler */
@ -170,8 +170,8 @@
#define __FPU_USED 0 #define __FPU_USED 0
#endif #endif
#elif defined ( __CSMC__ ) /* Cosmic */ #elif defined ( __CSMC__ ) /* Cosmic */
#if ( __CSMC__ & 0x400) // FPU present for parser #if ( __CSMC__ & 0x400) // FPU present for parser
#if (__FPU_PRESENT == 1) #if (__FPU_PRESENT == 1)
#define __FPU_USED 1 #define __FPU_USED 1
#else #else

View File

@ -552,7 +552,7 @@ __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_BASEPRI(uint32_t v
/** \brief Set Base Priority with condition /** \brief Set Base Priority with condition
This function assigns the given value to the Base Priority register only if BASEPRI masking is disabled, 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 \param [in] basePri Base Priority value to set
*/ */