Skip to content

Commit

Permalink
Fix PARL_IO Rx
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Fischer committed Jul 22, 2024
1 parent 814e99c commit d3db3e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions esp-hal/src/parl_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1758,9 +1758,8 @@ pub mod asynch {
}
}

let future = DmaRxDoneChFuture::new(&mut self.rx_channel);
Self::start_receive_bytes_dma(future.rx, &mut self.rx_chain, ptr, len)?;
future.await?;
Self::start_receive_bytes_dma(&mut self.rx_channel, &mut self.rx_chain, ptr, len)?;
DmaRxDoneChFuture::new(&mut self.rx_channel).await?;

Ok(())
}
Expand Down

0 comments on commit d3db3e0

Please sign in to comment.