stm32: Enable fifo for buffered uart

This commit is contained in:
Matous Hybl 2022-11-30 14:11:32 +01:00
parent cea29d7de3
commit e1d7d8d841

View file

@ -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);
});