Skip to content

Commit

Permalink
Reimplement log_timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Oct 24, 2023
1 parent 5f0d507 commit 4fa9886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-wifi/src/wifi/os_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

/****************************************************************************
Expand Down

0 comments on commit 4fa9886

Please sign in to comment.