aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Rosenthal <[email protected]>2021-10-30 16:23:45 -0700
committerJacob Rosenthal <[email protected]>2021-10-30 16:23:45 -0700
commit96df2fdb4343c701549bc77fa9bb06352e439f81 (patch)
treeac6b4858eefce986becc0e022938ef413dcf9924
parent763e250dfea4425912674ed68d77c3291b0505e0 (diff)
lost comment
-rw-r--r--embassy-nrf/src/pwm.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-nrf/src/pwm.rs b/embassy-nrf/src/pwm.rs
index 3f05ed58e..83d0bdae3 100644
--- a/embassy-nrf/src/pwm.rs
+++ b/embassy-nrf/src/pwm.rs
@@ -251,8 +251,10 @@ impl<'d, T: Instance> Pwm<'d, T> {
251 }); 251 });
252 252
253 if n & 1 == 1 { 253 if n & 1 == 1 {
254 // tasks_seqstart doesnt exist in all svds so write its bit instead
254 r.tasks_seqstart[0].write(|w| unsafe { w.bits(0x01) }); 255 r.tasks_seqstart[0].write(|w| unsafe { w.bits(0x01) });
255 } else { 256 } else {
257 // tasks_seqstart doesnt exist in all svds so write its bit instead
256 r.tasks_seqstart[1].write(|w| unsafe { w.bits(0x01) }); 258 r.tasks_seqstart[1].write(|w| unsafe { w.bits(0x01) });
257 } 259 }
258 } 260 }