fix(esp_hw_support): fix esp32 APP_CPU accessing RTCFAST memory in sleep code
Closes https://github.com/espressif/esp-idf/issues/16243
This commit is contained in:
@@ -19,9 +19,7 @@
|
||||
#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;
|
||||
RTC_SLOW_ATTR static struct timeval sleep_enter_time;
|
||||
#endif
|
||||
|
||||
static void deep_sleep_task(void *args)
|
||||
|
||||
Reference in New Issue
Block a user