mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-23 01:21:42 +08:00
Removed spurious second portDISABLE_INTERRUPTS when compiling for ARM mode.
This commit is contained in:
@ -231,7 +231,6 @@ extern volatile unsigned portLONG ulCriticalNesting; \
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define portDISABLE_INTERRUPTS() \
|
|
||||||
#define portDISABLE_INTERRUPTS() \
|
#define portDISABLE_INTERRUPTS() \
|
||||||
asm volatile ( \
|
asm volatile ( \
|
||||||
"STMDB SP!, {R0} \n\t" /* Push R0. */ \
|
"STMDB SP!, {R0} \n\t" /* Push R0. */ \
|
||||||
|
Reference in New Issue
Block a user