mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-05 22:11:04 +08:00
feat(freertos): Link SoftIsrHdl and its sub functions to IRAM
This commit is contained in:
@ -118,7 +118,7 @@ void IRAM_ATTR HDL_MAC_SIG_IN_LV1_ISR(void)
|
||||
|
||||
extern portBASE_TYPE MacIsrSigPostDefHdl(void);
|
||||
|
||||
void SoftIsrHdl(void* arg)
|
||||
void IRAM_ATTR SoftIsrHdl(void* arg)
|
||||
{
|
||||
ETS_NMI_LOCK();
|
||||
|
||||
@ -130,7 +130,7 @@ void SoftIsrHdl(void* arg)
|
||||
}
|
||||
|
||||
if (xHigherPriorityTaskWoken || (SWReq == 1)) {
|
||||
_xt_timer_int1();
|
||||
_xt_timer_int1(); // call vTaskSwitchContext
|
||||
SWReq = 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user