From 1a8b5f27a05a63df9c61b6a9cadd4b0729557e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Wed, 15 Jan 2025 21:02:56 +0100 Subject: [PATCH] rtic-monotonics: rp2040 extra parenthesis (#1010) --- rtic-monotonics/src/rp2040.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtic-monotonics/src/rp2040.rs b/rtic-monotonics/src/rp2040.rs index c8afa2e11fce..b04376cc1740 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; }