diff options
Diffstat (limited to 'embassy-executor/src')
| -rw-r--r-- | embassy-executor/src/raw/mod.rs | 2 |
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 { |
