From da96ef9d51730975b52fa2c92ec27236b68f1daf Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Wed, 26 Nov 2025 14:42:46 +0100 Subject: chore: cleanup --- embassy-nrf/src/time_driver.rs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'embassy-nrf') diff --git a/embassy-nrf/src/time_driver.rs b/embassy-nrf/src/time_driver.rs index de1974fb7..35f65bd64 100644 --- a/embassy-nrf/src/time_driver.rs +++ b/embassy-nrf/src/time_driver.rs @@ -182,15 +182,10 @@ impl RtcDriver { while r.counter().read().0 != 0 {} #[cfg(feature = "_grtc")] - { - // According to datasheet, we need to wait for STATUS.LFTIMER.READY - // before the timer is actually started - loop { - if r.status().lftimer().read().ready() { - break; - } + loop { + if r.status().lftimer().read().ready() { + break; } - // Keep SYSCOUNTER[0] always active so we can read it anytime without BUSY waits } #[cfg(feature = "_grtc")] -- cgit