Do not disable dma request when idle line is detected
This commit is contained in:
parent
49455792cb
commit
4ea6662e55
@ -313,11 +313,6 @@ impl<'d, T: BasicInstance, RxDma> UartRx<'d, T, RxDma> {
|
|||||||
// disable idle line detection
|
// disable idle line detection
|
||||||
w.set_idleie(false);
|
w.set_idleie(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
r.cr3().modify(|w| {
|
|
||||||
// disable DMA Rx Request
|
|
||||||
w.set_dmar(false);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wake = true;
|
wake = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user