fix(esp_system): fix core1 access cache when core0 close cache during sleep

This commit is contained in:
Lou Tianhao 2024-05-20 14:49:49 +08:00
parent 4ec0065d74
commit 7b10c2421f

View File

@ -5,8 +5,9 @@
*/
#include "stdint.h"
#include "esp_attr.h"
void esp_ipc_isr_waiting_for_finish_cmd(void* ipc_isr_finish_cmd)
void IRAM_ATTR esp_ipc_isr_waiting_for_finish_cmd(void* ipc_isr_finish_cmd)
{
while (*(volatile uint32_t *)ipc_isr_finish_cmd == 0) { };
}