mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 03:07:21 +02:00
fix(esp_system): fix core1 access cache when core0 close cache during sleep
This commit is contained in:
@ -5,8 +5,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdint.h"
|
#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) { };
|
while (*(volatile uint32_t *)ipc_isr_finish_cmd == 0) { };
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user