mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
fix(esp_hw_support): fix esp32 APP_CPU accessing RTCFAST memory in sleep code
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user