From 5a901131369d3de78badf04e4b70046212193b1e Mon Sep 17 00:00:00 2001 From: Renz Bagaporo Date: Mon, 8 Mar 2021 23:00:31 +0800 Subject: [PATCH] newlib: change microseconds offset type --- components/newlib/port/esp_time_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/newlib/port/esp_time_impl.c b/components/newlib/port/esp_time_impl.c index bb3bc77bb3..5317156b63 100644 --- a/components/newlib/port/esp_time_impl.c +++ b/components/newlib/port/esp_time_impl.c @@ -51,7 +51,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 = 0; +int64_t s_microseconds_offset = 0; #endif #ifndef CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER