mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 14:53:03 +00:00
using write dont need to clear
This commit is contained in:
parent
78e382c9aa
commit
d98a1707b9
@ -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()
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user