newlib: init microseconds offset

This commit is contained in:
Renz Bagaporo 2020-09-04 15:15:41 +08:00
parent cf9ac2ef9e
commit f5154b82e3

View File

@ -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