diff --git a/esp-hal-common/src/dma/pdma.rs b/esp-hal-common/src/dma/pdma.rs index b367601e422..3e14f74eecc 100644 --- a/esp-hal-common/src/dma/pdma.rs +++ b/esp-hal-common/src/dma/pdma.rs @@ -155,8 +155,8 @@ macro_rules! ImplSpiChannel { rx_descriptors: &'a mut [u32], priority: DmaPriority, ) -> Channel< - ChannelTx<[], []>, - ChannelRx<[], []>, + ChannelTx<'a,[], []>, + ChannelRx<'a,[], []>, [], > { let mut tx_impl = [] {};