fix(esp_hw_support): fix esp32 APP_CPU accessing RTCFAST memory in sleep code

This commit is contained in:
wuzhenghui
2025-07-14 14:07:55 +08:00
parent ade43f3b00
commit 7ac245d489
2 changed files with 18 additions and 14 deletions
@@ -18,11 +18,7 @@
#include "nvs.h"
#include "deep_sleep_example.h"
#if SOC_RTC_FAST_MEM_SUPPORTED
static RTC_DATA_ATTR struct timeval sleep_enter_time;
#else
static struct timeval sleep_enter_time;
#endif
RTC_SLOW_ATTR static struct timeval sleep_enter_time;
static void deep_sleep_task(void *args)
{