mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
Fix typo
This commit is contained in:
parent
2d899a17e7
commit
9fdfe5e99b
@ -369,7 +369,7 @@ impl<'d, T: Instance> Qspi<'d, T, Async> {
|
|||||||
transfer.blocking_wait();
|
transfer.blocking_wait();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Blocking read data, using DMA.
|
/// Async read data, using DMA.
|
||||||
pub async fn read_dma(&mut self, buf: &mut [u8], transaction: TransferConfig) {
|
pub async fn read_dma(&mut self, buf: &mut [u8], transaction: TransferConfig) {
|
||||||
let transfer = self.start_read_transfer(transaction, buf);
|
let transfer = self.start_read_transfer(transaction, buf);
|
||||||
transfer.await;
|
transfer.await;
|
||||||
|
Loading…
Reference in New Issue
Block a user