using write dont need to clear

This commit is contained in:
Jacob Rosenthal 2021-10-31 23:28:26 -07:00
parent 78e382c9aa
commit d98a1707b9

View file

@ -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()
});