fix typo
This commit is contained in:
parent
e15e30add2
commit
cfd5c92375
@ -402,10 +402,7 @@ impl<'d, T: Instance> Qspi<'d, T, Async> {
|
|||||||
|
|
||||||
// STM32H7 does not have dmaen
|
// STM32H7 does not have dmaen
|
||||||
#[cfg(not(stm32h7))]
|
#[cfg(not(stm32h7))]
|
||||||
T::REGS.cr().modify(|v| {
|
T::REGS.cr().modify(|v| v.set_dmaen(true));
|
||||||
v.set_en(true);
|
|
||||||
v.set_dmaen(true)
|
|
||||||
});
|
|
||||||
transfer
|
transfer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user