Merge branch 'bufix/missing-linux-portable-macros' into 'master'

fix(freertos): Added missing Linux port layer macros

See merge request espressif/esp-idf!25844
This commit is contained in:
Zim Kalinowski 2023-09-08 17:47:35 +08:00
commit a0137ff682

View File

@ -102,6 +102,8 @@ extern void vPortExitCritical( void );
#define portENABLE_INTERRUPTS() portCLEAR_INTERRUPT_MASK()
#define portENTER_CRITICAL(mux) {(void)mux; vPortEnterCritical();}
#define portEXIT_CRITICAL(mux) {(void)mux; vPortExitCritical();}
#define portENTER_CRITICAL_SAFE(mux) {(void)mux; vPortEnterCritical();}
#define portEXIT_CRITICAL_SAFE(mux) {(void)mux; vPortExitCritical();}
#define portENTER_CRITICAL_ISR(mux) portENTER_CRITICAL(mux)
#define portEXIT_CRITICAL_ISR(mux) portEXIT_CRITICAL(mux)