Skip to content

Commit

Permalink
Merge branch 'bugfix/freertos_smp_xtensa_port_disable_interrupt_macro…
Browse files Browse the repository at this point in the history
…' into 'master'

FreeRTOS(SMP): Fix SMP FreeRTOS portDISABLE_INTERRUPTS() macro on xtensa port

See merge request espressif/esp-idf!21093
  • Loading branch information
Dazza0 committed Nov 16, 2022
2 parents 7a947e8 + 816ddc8 commit 4c1ff60
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ void vPortCleanUpTCB ( void *pxTCB );
#define portDISABLE_INTERRUPTS() ({ \
unsigned int prev_level = XTOS_SET_INTLEVEL(XCHAL_EXCM_LEVEL); \
portbenchmarkINTERRUPT_DISABLE(); \
prev_level = ((prev_level >> XCHAL_PS_INTLEVEL_SHIFT) & XCHAL_PS_INTLEVEL_MASK); \
prev_level; \
})

Expand Down

0 comments on commit 4c1ff60

Please sign in to comment.