aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/usart/buffered.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-stm32/src/usart/buffered.rs b/embassy-stm32/src/usart/buffered.rs
index acd96d7c6..d024bedcf 100644
--- a/embassy-stm32/src/usart/buffered.rs
+++ b/embassy-stm32/src/usart/buffered.rs
@@ -112,6 +112,9 @@ impl<'d, T: BasicInstance> BufferedUart<'d, T> {
112 112
113 unsafe { 113 unsafe {
114 r.cr1().modify(|w| { 114 r.cr1().modify(|w| {
115 #[cfg(lpuart_v2)]
116 w.set_fifoen(true);
117
115 w.set_rxneie(true); 118 w.set_rxneie(true);
116 w.set_idleie(true); 119 w.set_idleie(true);
117 }); 120 });