mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Merge pull request #171 from ledvinap/fix-atomic
Fix misplaced end-of-line in atomic.h
This commit is contained in:
commit
f3914f67fb
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ __attribute__( ( always_inline ) ) static inline void __set_BASEPRI_nb(uint32_t
|
|||
|
||||
__attribute__( ( always_inline ) ) static inline void __set_BASEPRI_MAX_nb(uint32_t basePri)
|
||||
{
|
||||
__ASM volatile ("\tMSR basepri_max\n, %0" : : "r" (basePri) );
|
||||
__ASM volatile ("\tMSR basepri_max, %0\n" : : "r" (basePri) );
|
||||
}
|
||||
|
||||
__attribute__( ( always_inline ) ) static inline void __set_BASEPRI_MAX(uint32_t basePri)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue