Merge branch 'fix/fix_esp32_core1_access_rtc_fast_in_sleep_code_v5.5' into 'release/v5.5'
fix(esp_hw_support): fix esp32 APP_CPU accessing RTCFAST memory in sleep code (v5.5) See merge request espressif/esp-idf!40556
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