Fix yet another v1 error
This commit is contained in:
parent
c5bf36eebf
commit
f616b22159
@ -922,8 +922,8 @@ fn configure(r: Regs, config: &Config, pclk_freq: Hertz, kind: Kind, enable_rx:
|
|||||||
w.set_over8(vals::Over8(over8 as _));
|
w.set_over8(vals::Over8(over8 as _));
|
||||||
});
|
});
|
||||||
|
|
||||||
r.cr3().modify(|w| {
|
|
||||||
#[cfg(not(usart_v1))]
|
#[cfg(not(usart_v1))]
|
||||||
|
r.cr3().modify(|w| {
|
||||||
w.set_onebit(config.assume_noise_free);
|
w.set_onebit(config.assume_noise_free);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user