mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
newlib: init microseconds offset
This commit is contained in:
parent
cf9ac2ef9e
commit
f5154b82e3
@ -50,7 +50,7 @@
|
||||
// Offset between FRC timer and the RTC.
|
||||
// Initialized after reset or light sleep.
|
||||
#if defined(CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER) && defined(CONFIG_ESP_TIME_FUNCS_USE_ESP_TIMER)
|
||||
uint64_t s_microseconds_offset;
|
||||
uint64_t s_microseconds_offset = 0;
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER
|
||||
|
Loading…
x
Reference in New Issue
Block a user