This commit is contained in:
Liu Hancheng 2025-01-05 20:10:45 +08:00
parent e15e30add2
commit cfd5c92375

View File

@ -402,10 +402,7 @@ impl<'d, T: Instance> Qspi<'d, T, Async> {
// STM32H7 does not have dmaen
#[cfg(not(stm32h7))]
T::REGS.cr().modify(|v| {
v.set_en(true);
v.set_dmaen(true)
});
T::REGS.cr().modify(|v| v.set_dmaen(true));
transfer
}