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 } /****************************************************************************