newlib: change microseconds offset type

This commit is contained in:
Renz Bagaporo
2021-03-08 23:00:31 +08:00
parent cb5a8342d4
commit 5a90113136

View File

@@ -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 = 0; int64_t s_microseconds_offset = 0;
#endif #endif
#ifndef CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER #ifndef CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER