From cc6906f6dc559605674811af7cb3273b26c46c41 Mon Sep 17 00:00:00 2001 From: bjoernQ Date: Fri, 10 May 2024 14:57:45 +0200 Subject: [PATCH] Fix --- esp-hal/src/parl_io.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/esp-hal/src/parl_io.rs b/esp-hal/src/parl_io.rs index 2330f071e2..b7a0c9b0bf 100644 --- a/esp-hal/src/parl_io.rs +++ b/esp-hal/src/parl_io.rs @@ -94,8 +94,8 @@ use crate::{ ChannelTypes, DmaError, DmaPeripheral, - DmaTransferRxImpl, - DmaTransferTxImpl, + DmaTransferRx, + DmaTransferTx, ParlIoPeripheral, RxPrivate, TxPrivate, @@ -1421,7 +1421,7 @@ where pub fn write_dma<'t, TXBUF>( &'t mut self, words: &'t TXBUF, - ) -> Result, Error> + ) -> Result, Error> where TXBUF: ReadBuffer, { @@ -1433,7 +1433,7 @@ where self.start_write_bytes_dma(ptr, len)?; - Ok(DmaTransferTxImpl::new(self)) + Ok(DmaTransferTx::new(self)) } fn start_write_bytes_dma(&mut self, ptr: *const u8, len: usize) -> Result<(), Error> { @@ -1516,7 +1516,7 @@ where pub fn read_dma<'t, RXBUF>( &'t mut self, words: &'t mut RXBUF, - ) -> Result, Error> + ) -> Result, Error> where RXBUF: WriteBuffer, { @@ -1528,7 +1528,7 @@ where Self::start_receive_bytes_dma(&mut self.rx_channel, ptr, len)?; - Ok(DmaTransferRxImpl::new(self)) + Ok(DmaTransferRx::new(self)) } fn start_receive_bytes_dma(