rtic-monotonics: rp2040 extra parenthesis (#1010)

This commit is contained in:
Henrik Tjäder 2025-01-15 21:02:56 +01:00 committed by GitHub
parent 6f6a56387c
commit 1a8b5f27a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,7 +81,7 @@ impl TimerQueueBackend for TimerBackend {
let low = timer.timerawl().read().bits();
let hi1 = timer.timerawh().read().bits();
if hi0 == hi1 {
break ((u64::from(hi0) << 32) | u64::from(low));
break (u64::from(hi0) << 32) | u64::from(low);
}
hi0 = hi1;
}