diff options
| author | xgroleauđ˘ <[email protected]> | 2024-02-08 09:01:07 -0500 |
|---|---|---|
| committer | xgroleauđ˘ <[email protected]> | 2024-02-08 09:01:07 -0500 |
| commit | 09613e90de92ba43974796efec13e38adf4c3ac8 (patch) | |
| tree | 33b50dea07864b76f9eaa5a87c7b80e895091e1f /embassy-executor | |
| parent | d48620d58f588936a5c74840063fe422764b749f (diff) | |
fix: missing 0
Diffstat (limited to 'embassy-executor')
| -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 3d221c94b..3c9407d39 100644 --- a/embassy-executor/src/raw/mod.rs +++ b/embassy-executor/src/raw/mod.rs | |||
| @@ -598,7 +598,7 @@ impl rtos_trace::RtosTraceOSCallbacks for Executor { | |||
| 598 | #[cfg(feature = "integrated-timers")] | 598 | #[cfg(feature = "integrated-timers")] |
| 599 | fn time() -> u64 { | 599 | fn time() -> u64 { |
| 600 | const GCD_1M: u64 = gcd(embassy_time_driver::TICK_HZ, 1_000_000); | 600 | const GCD_1M: u64 = gcd(embassy_time_driver::TICK_HZ, 1_000_000); |
| 601 | embassy_time_driver::now() * (1_000_00 / GCD_1M) / (embassy_time_driver::TICK_HZ / GCD_1M); | 601 | embassy_time_driver::now() * (1_000_000 / GCD_1M) / (embassy_time_driver::TICK_HZ / GCD_1M); |
| 602 | } | 602 | } |
| 603 | #[cfg(not(feature = "integrated-timers"))] | 603 | #[cfg(not(feature = "integrated-timers"))] |
| 604 | fn time() -> u64 { | 604 | fn time() -> u64 { |
