Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
MSRV Fix
  • Loading branch information
bjoernQ committed Oct 20, 2022
commit 1a3dda3e9bbcd0a8b80c8f3ea851c0188c0d1e6a
6 changes: 3 additions & 3 deletions esp-hal-common/src/dma/gdma.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ macro_rules! ImplChannel {
tx_descriptors: &'a mut [u32],
rx_descriptors: &'a mut [u32],
priority: DmaPriority,
) -> Channel<ChannelTx<[<Channel $num TxImpl>], [<Channel $num>]>, ChannelRx<[<Channel $num RxImpl>], [<Channel $num>]>, [<SuitablePeripheral $num>]> {
) -> Channel<ChannelTx<'a, [<Channel $num TxImpl>], [<Channel $num>]>, ChannelRx<'a, [<Channel $num RxImpl>], [<Channel $num>]>, [<SuitablePeripheral $num>]> {
let mut tx_impl = [<Channel $num TxImpl>] {};
tx_impl.init(burst_mode, priority);

Expand Down Expand Up @@ -221,11 +221,11 @@ pub(crate) mod private {

ImplChannel!(0);
ImplChannel!(1);
ImplChannel!(2);
ImplChannel!(2);
}

/// GDMA Peripheral
///
///
/// This offers the available DMA channels.
pub struct Gdma {
_inner: crate::pac::DMA,
Expand Down
2 changes: 1 addition & 1 deletion esp-hal-common/src/dma/pdma.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ pub(crate) mod private {
}

/// DMA Peripheral
///
///
/// This offers the available DMA channels.
pub struct Dma {
_inner: crate::system::Dma,
Expand Down