diff --git a/rtic-time/src/monotonic/embedded_hal_macros.rs b/rtic-time/src/monotonic/embedded_hal_macros.rs index f3e857e2d9..f729231d84 100644 --- a/rtic-time/src/monotonic/embedded_hal_macros.rs +++ b/rtic-time/src/monotonic/embedded_hal_macros.rs @@ -23,7 +23,7 @@ macro_rules! impl_embedded_hal_delay_fugit { now + ::Duration::micros_at_least(us.into()); if now != done { // Compensate for sub-tick uncertainty - done = done + ::Duration::from_ticks(1); + done += ::Duration::from_ticks(1); } while ::now() < done {}