Hello all,
I'm trying to maintain a valid time stamp during deep sleep with the ESP32-C3. With settime of day I set the unix time stamp and a subsequent gettimeofday returns correctly.
After a deep_sleep, the gettimeofday function returns a value of 0. Why is this happening?
I understood that the gettimeofday function call will always return the set time, regardless of deep sleep.
ESP32-C3 deep sleep and gettimeofday
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-C3 deep sleep and gettimeofday
It shouldn't do that, indeed. What ESP-IDF version do you use and can you share your project?
Who is online
Users browsing this forum: jldesigns and 115 guests