From 96df2fdb4343c701549bc77fa9bb06352e439f81 Mon Sep 17 00:00:00 2001 From: Jacob Rosenthal Date: Sat, 30 Oct 2021 16:23:45 -0700 Subject: [PATCH] lost comment --- embassy-nrf/src/pwm.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/embassy-nrf/src/pwm.rs b/embassy-nrf/src/pwm.rs index 3f05ed58..83d0bdae 100644 --- a/embassy-nrf/src/pwm.rs +++ b/embassy-nrf/src/pwm.rs @@ -251,8 +251,10 @@ impl<'d, T: Instance> Pwm<'d, T> { }); if n & 1 == 1 { + // tasks_seqstart doesnt exist in all svds so write its bit instead r.tasks_seqstart[0].write(|w| unsafe { w.bits(0x01) }); } else { + // tasks_seqstart doesnt exist in all svds so write its bit instead r.tasks_seqstart[1].write(|w| unsafe { w.bits(0x01) }); } }