mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
newlib: init microseconds offset
This commit is contained in:
committed by
Marius Vikhammer
parent
00c304535f
commit
cebab7fa7f
@@ -51,7 +51,7 @@
|
|||||||
// Offset between FRC timer and the RTC.
|
// Offset between FRC timer and the RTC.
|
||||||
// Initialized after reset or light sleep.
|
// Initialized after reset or light sleep.
|
||||||
#if defined(CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER) && defined(CONFIG_ESP_TIME_FUNCS_USE_ESP_TIMER)
|
#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
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER
|
#ifndef CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER
|
||||||
|
Reference in New Issue
Block a user