Skip to content

Commit

Permalink
rtic-monotonics: rp2040 extra parenthesis (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
AfoHT authored Jan 15, 2025
1 parent 6f6a563 commit 1a8b5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtic-monotonics/src/rp2040.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1a8b5f2

Please sign in to comment.