diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2025-01-15 21:02:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-15 20:02:56 +0000 |
| commit | 1a8b5f27a05a63df9c61b6a9cadd4b0729557e96 (patch) | |
| tree | 7beed69753ccc3681c709fa5979022952eebf3b6 /rtic-monotonics/src | |
| parent | 6f6a56387c22b8a4c5d526d407e2249a7ef7a538 (diff) | |
rtic-monotonics: rp2040 extra parenthesis (#1010)
Diffstat (limited to 'rtic-monotonics/src')
| -rw-r--r-- | rtic-monotonics/src/rp2040.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtic-monotonics/src/rp2040.rs b/rtic-monotonics/src/rp2040.rs index c8afa2e..b04376c 100644 --- a/rtic-monotonics/src/rp2040.rs +++ b/rtic-monotonics/src/rp2040.rs @@ -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; } |
