millis() and light-sleep
Posted: Wed Aug 09, 2023 12:36 pm
Since my experiences in an earlier esp32 project i was sure that the millis() value isn't maintained over light-sleep. And i had to use the RTC myself to determine the sleep time.
Now more or less by accident i recognized that the millis() value is indeed corrected after wakeup from light-sleep.
Does this behaviour changed over idf or arduino Versions?
Are there any requirements to make this work which are now met by accident?
Now more or less by accident i recognized that the millis() value is indeed corrected after wakeup from light-sleep.
Does this behaviour changed over idf or arduino Versions?
Are there any requirements to make this work which are now met by accident?