mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 08:32:42 +08:00
fix(log): fix boot time data type errot
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user