Skip to content

Commit

Permalink
[3/3] DMA Move API: Introduce DMA buffer objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Fischer committed Jul 25, 2024
1 parent fce39e5 commit d10e45a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions esp-hal/src/dma/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2341,6 +2341,7 @@ impl<'a, I> DmaTransferTxRx<'a, I>
where
I: dma_private::DmaSupportTx + dma_private::DmaSupportRx,
{
#[allow(dead_code)]
pub(crate) fn new(instance: &'a mut I) -> Self {
Self { instance }
}
Expand Down Expand Up @@ -2562,6 +2563,7 @@ pub(crate) mod asynch {
Self { rx, _a: () }
}

#[allow(dead_code)] // Dead on the C2
pub fn rx(&mut self) -> &mut RX {
self.rx
}
Expand Down

0 comments on commit d10e45a

Please sign in to comment.