mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(esp_system): fix core1 access cache when core0 close cache during sleep
This commit is contained in:
parent
4ec0065d74
commit
7b10c2421f
@ -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) { };
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user