From 4fa98864d4d2d5ba5d6c29aa46314bbc7812f111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Tue, 24 Oct 2023 19:27:05 +0200 Subject: [PATCH] Reimplement log_timestamp --- esp-wifi/src/wifi/os_adapter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp-wifi/src/wifi/os_adapter.rs b/esp-wifi/src/wifi/os_adapter.rs index 21c4af55..19e0f1d4 100644 --- a/esp-wifi/src/wifi/os_adapter.rs +++ b/esp-wifi/src/wifi/os_adapter.rs @@ -1560,7 +1560,7 @@ pub unsafe extern "C" fn log_writev( * ****************************************************************************/ pub unsafe extern "C" fn log_timestamp() -> u32 { - (crate::timer::get_systimer_count() / (crate::timer::TICKS_PER_SECOND / 1_000)) as u32 + crate::current_millis() as u32 } /****************************************************************************