mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-29 21:31:08 +00:00
Fixed register names from recent stm32-data changes
This commit is contained in:
parent
6d0927b174
commit
d3308f7e5a
@ -335,7 +335,7 @@ impl<'d, T: Instance> Bus<'d, T> {
|
|||||||
|
|
||||||
critical_section::with(|_| {
|
critical_section::with(|_| {
|
||||||
crate::pac::RCC.ahb2enr().modify(|w| {
|
crate::pac::RCC.ahb2enr().modify(|w| {
|
||||||
w.set_otgen(true);
|
w.set_usb_otg_hsen(true);
|
||||||
w.set_otghsphyen(true);
|
w.set_otghsphyen(true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user