SNTP Sample RTC_DATA_ATTR variable get cleared
Posted: Wed Dec 28, 2016 5:08 pm
Hello,
i have compiled sample 06_sntp and flashed. On console output the "Boot count" after reset was 1 and after deep sleep it was always 0 and no valid time was available.
After inserting
the "Boot count" increases correctly and the time was valid.
Is this intended behavior ?
If so, please fix the example.
i have compiled sample 06_sntp and flashed. On console output the "Boot count" after reset was 1 and after deep sleep it was always 0 and no valid time was available.
After inserting
Code: Select all
esp_deep_sleep_pd_config(ESP_PD_DOMAIN_RTC_SLOW_MEM, ESP_PD_OPTION_ON);
Is this intended behavior ?
If so, please fix the example.