From d98a1707b974660b585de1015787c0e5066d81d2 Mon Sep 17 00:00:00 2001 From: Jacob Rosenthal Date: Sun, 31 Oct 2021 23:28:26 -0700 Subject: [PATCH] using write dont need to clear --- embassy-nrf/src/pwm.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/embassy-nrf/src/pwm.rs b/embassy-nrf/src/pwm.rs index 8d4a9d8b8..9672e6f22 100644 --- a/embassy-nrf/src/pwm.rs +++ b/embassy-nrf/src/pwm.rs @@ -246,7 +246,6 @@ impl<'d, T: Instance> Pwm<'d, T> { r.loop_.write(|w| unsafe { w.cnt().bits(times) }); r.shorts.write(|w| { w.loopsdone_seqstart1().enabled(); - w.loopsdone_seqstart0().disabled(); w.loopsdone_stop().enabled() });