sequence must be live while DMA runs
This commit is contained in:
parent
639034cee4
commit
f15c3a04d4
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ impl<'d, T: Instance> SequencePwm<'d, T> {
|
|||
ch2: impl Unborrow<Target = impl GpioOptionalPin> + 'd,
|
||||
ch3: impl Unborrow<Target = impl GpioOptionalPin> + 'd,
|
||||
config: SequenceConfig,
|
||||
sequence: &mut [u16],
|
||||
sequence: &'d [u16],
|
||||
) -> Result<Self, Error> {
|
||||
slice_in_ram_or(sequence, Error::DMABufferNotInDataMemory)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue