stm32: Enable fifo for buffered uart
This commit is contained in:
parent
cea29d7de3
commit
e1d7d8d841
@ -112,6 +112,9 @@ impl<'d, T: BasicInstance> BufferedUart<'d, T> {
|
||||
|
||||
unsafe {
|
||||
r.cr1().modify(|w| {
|
||||
#[cfg(lpuart_v2)]
|
||||
w.set_fifoen(true);
|
||||
|
||||
w.set_rxneie(true);
|
||||
w.set_idleie(true);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user