mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 14:53:03 +00:00
intenset in a noop
This commit is contained in:
parent
82695c8f65
commit
511c5cb892
@ -112,7 +112,6 @@ impl<'d, T: Instance> PwmSeq<'d, T> {
|
||||
r.psel.out[3].write(|w| unsafe { w.bits(ch3.psel_bits()) });
|
||||
|
||||
// Disable all interrupts
|
||||
r.intenset.reset();
|
||||
r.intenclr.write(|w| unsafe { w.bits(0xFFFF_FFFF) });
|
||||
r.shorts.reset();
|
||||
|
||||
@ -325,7 +324,6 @@ impl<'d, T: Instance> Pwm<'d, T> {
|
||||
r.psel.out[3].write(|w| unsafe { w.bits(ch3.psel_bits()) });
|
||||
|
||||
// Disable all interrupts
|
||||
r.intenset.reset();
|
||||
r.intenclr.write(|w| unsafe { w.bits(0xFFFF_FFFF) });
|
||||
r.shorts.reset();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user