From 511c5cb8927f1c55c4e006d03fa64fb0c00e154d Mon Sep 17 00:00:00 2001 From: Jacob Rosenthal Date: Wed, 3 Nov 2021 18:16:00 -0700 Subject: [PATCH] intenset in a noop --- embassy-nrf/src/pwm.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/embassy-nrf/src/pwm.rs b/embassy-nrf/src/pwm.rs index 4f60e30be..c054addfb 100644 --- a/embassy-nrf/src/pwm.rs +++ b/embassy-nrf/src/pwm.rs @@ -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();