Fix yet another v1 error
This commit is contained in:
parent
c5bf36eebf
commit
f616b22159
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue