Fix yet another v1 error

This commit is contained in:
Rasmus Melchior Jacobsen 2023-05-25 18:16:46 +02:00
parent c5bf36eebf
commit f616b22159

View file

@ -922,8 +922,8 @@ fn configure(r: Regs, config: &Config, pclk_freq: Hertz, kind: Kind, enable_rx:
w.set_over8(vals::Over8(over8 as _));
});
r.cr3().modify(|w| {
#[cfg(not(usart_v1))]
r.cr3().modify(|w| {
w.set_onebit(config.assume_noise_free);
});
}