Fix DMA channels

This commit is contained in:
chemicstry 2022-03-17 01:54:56 +02:00
parent 24a9e19062
commit c24d482d51

View file

@ -483,8 +483,7 @@ fn main() {
(("i2c", "TX"), quote!(crate::i2c::TxDma)), (("i2c", "TX"), quote!(crate::i2c::TxDma)),
(("dcmi", "DCMI"), quote!(crate::dcmi::FrameDma)), (("dcmi", "DCMI"), quote!(crate::dcmi::FrameDma)),
(("dcmi", "PSSI"), quote!(crate::dcmi::FrameDma)), (("dcmi", "PSSI"), quote!(crate::dcmi::FrameDma)),
// Same channel is used for RX/TX // SDMMCv1 uses the same channel for both directions, so just implement for RX
(("sdmmc", "RX"), quote!(crate::sdmmc::SdmmcDma)),
(("sdmmc", "RX"), quote!(crate::sdmmc::SdmmcDma)), (("sdmmc", "RX"), quote!(crate::sdmmc::SdmmcDma)),
] ]
.into(); .into();