aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src
diff options
context:
space:
mode:
authorxgroleau🐢 <[email protected]>2024-02-06 10:38:48 -0500
committerxgroleau🐢 <[email protected]>2024-02-06 15:08:05 -0500
commit5f36108896d909ed990a587941d74e0488bcd190 (patch)
tree11a12c4650ad61ace7cf53e3633cf4af8d928ec8 /embassy-executor/src
parentad7d4494fad12f98c7e8e2b776bc12453a66be9a (diff)
fix: rtos-usage time missing
Diffstat (limited to 'embassy-executor/src')
-rw-r--r--embassy-executor/src/raw/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/src/raw/mod.rs b/embassy-executor/src/raw/mod.rs
index 3f00be4a8..fbc0481c2 100644
--- a/embassy-executor/src/raw/mod.rs
+++ b/embassy-executor/src/raw/mod.rs
@@ -588,7 +588,7 @@ impl rtos_trace::RtosTraceOSCallbacks for Executor {
588 } 588 }
589 #[cfg(feature = "integrated-timers")] 589 #[cfg(feature = "integrated-timers")]
590 fn time() -> u64 { 590 fn time() -> u64 {
591 Instant::now().as_micros() 591 embassy_time::Instant::now().as_millis()
592 } 592 }
593 #[cfg(not(feature = "integrated-timers"))] 593 #[cfg(not(feature = "integrated-timers"))]
594 fn time() -> u64 { 594 fn time() -> u64 {