add missing TransferOptions fields for DMA

This commit is contained in:
JuliDi 2023-07-22 21:36:03 +02:00
parent a56b3e9a44
commit 8e230bf6ec
No known key found for this signature in database
GPG key ID: E1E90AE563D09D63

View file

@ -225,6 +225,9 @@ const DMA_TRANSFER_OPTIONS: crate::dma::TransferOptions = crate::dma::TransferOp
mburst: crate::dma::Burst::Incr4,
flow_ctrl: crate::dma::FlowControl::Peripheral,
fifo_threshold: Some(crate::dma::FifoThreshold::Full),
circular: false,
half_transfer_ir: false,
complete_transfer_ir: true,
};
#[cfg(all(sdmmc_v1, not(dma)))]
const DMA_TRANSFER_OPTIONS: crate::dma::TransferOptions = crate::dma::TransferOptions {