[Stylecheck] Correct style in the CM3 addition
This commit is contained in:
parent
8e96592f55
commit
aa9b94ee1d
|
@ -85,7 +85,7 @@ static inline bool cm_is_masked_interrupts(void)
|
|||
{
|
||||
register uint32_t result;
|
||||
__asm__ ("MRS %0, PRIMASK" : "=r" (result));
|
||||
return (result);
|
||||
return result;
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
@ -100,7 +100,7 @@ static inline bool cm_is_masked_faults(void)
|
|||
{
|
||||
register uint32_t result;
|
||||
__asm__ ("MRS %0, FAULTMASK" : "=r" (result));
|
||||
return (result);
|
||||
return result;
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
@ -214,7 +214,7 @@ static inline bool __cm_atomic_set(bool* val)
|
|||
#define CM_ATOMIC_BLOCK()
|
||||
#else /* defined(__DOXYGEN__) */
|
||||
#define CM_ATOMIC_BLOCK() \
|
||||
for (bool ___CM_SAVER(true), __My = true; __My; __My = false)
|
||||
for (bool ___CM_SAVER(true), __my = true; __my; __my = false)
|
||||
#endif /* defined(__DOXYGEN__) */
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in New Issue