diff --git a/embassy-nrf/src/pwm.rs b/embassy-nrf/src/pwm.rs index a850aac2..5fa57a77 100644 --- a/embassy-nrf/src/pwm.rs +++ b/embassy-nrf/src/pwm.rs @@ -62,7 +62,7 @@ impl<'d, T: Instance> SequencePwm<'d, T> { ch2: impl Unborrow + 'd, ch3: impl Unborrow + 'd, config: SequenceConfig, - sequence: &mut [u16], + sequence: &'d [u16], ) -> Result { slice_in_ram_or(sequence, Error::DMABufferNotInDataMemory)?;