mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-24 10:59:34 +01:00
Fix another clippy::assign_op_pattern warning (#933)
This commit is contained in:
parent
7fd9e6476b
commit
e6dff2c047
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ macro_rules! impl_embedded_hal_delay_fugit {
|
|||
now + <Self as $crate::Monotonic>::Duration::micros_at_least(us.into());
|
||||
if now != done {
|
||||
// Compensate for sub-tick uncertainty
|
||||
done = done + <Self as $crate::Monotonic>::Duration::from_ticks(1);
|
||||
done += <Self as $crate::Monotonic>::Duration::from_ticks(1);
|
||||
}
|
||||
|
||||
while <Self as $crate::Monotonic>::now() < done {}
|
||||
|
|
Loading…
Reference in a new issue