From 8ddac7b9cff7fd8df1ab870cfed02459abc5cc50 Mon Sep 17 00:00:00 2001 From: dongheng Date: Fri, 18 Oct 2019 18:23:31 +0800 Subject: [PATCH] fix(log): fix boot time data type errot --- components/log/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/log/log.c b/components/log/log.c index 264df9ba..d69e2533 100644 --- a/components/log/log.c +++ b/components/log/log.c @@ -61,7 +61,7 @@ uint32_t IRAM_ATTR esp_log_early_timestamp() { #ifndef BOOTLOADER_BUILD extern uint64_t g_esp_os_us; - extern uint64_t g_esp_boot_ccount; + extern uint32_t g_esp_boot_ccount; const uint32_t ticks_per_ms = g_esp_ticks_per_us * 1000; const uint32_t ms = g_esp_os_us / 1000 + g_esp_boot_ccount / ((CRYSTAL_USED * 2) * 1000);