enable clock first
This commit is contained in:
@ -177,7 +177,7 @@ impl<'d, T: Instance, Dma> Qspi<'d, T, Dma> {
|
||||
) -> Self {
|
||||
into_ref!(peri, dma);
|
||||
|
||||
T::reset_and_enable();
|
||||
T::enable_and_reset();
|
||||
|
||||
while T::REGS.sr().read().busy() {}
|
||||
|
||||
|
Reference in New Issue
Block a user