mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-06 21:25:00 -05:00
Enable Interrupts don't need NOP before portENABLE_INTERRUPTS
This commit is contained in:
parent
2faa8bc154
commit
5e1d34b265
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ typedef unsigned short UBaseType_t;
|
||||||
|
|
||||||
/* Interrupt control macros. */
|
/* Interrupt control macros. */
|
||||||
#define portDISABLE_INTERRUPTS() __asm volatile ( "DINT\n" "NOP" )
|
#define portDISABLE_INTERRUPTS() __asm volatile ( "DINT\n" "NOP" )
|
||||||
#define portENABLE_INTERRUPTS() __asm volatile ( "NOP\n" "EINT\n" "NOP" )
|
#define portENABLE_INTERRUPTS() __asm volatile ( "EINT\n" "NOP" )
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/* Critical section control macros. */
|
/* Critical section control macros. */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue