mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
stm32/usb: enable USV for U0.
This commit is contained in:
parent
e5e9fb78af
commit
2bd5095991
@ -23,7 +23,7 @@ fn common_init<T: Instance>() {
|
||||
)
|
||||
}
|
||||
|
||||
#[cfg(any(stm32l4, stm32l5, stm32wb))]
|
||||
#[cfg(any(stm32l4, stm32l5, stm32wb, stm32u0))]
|
||||
critical_section::with(|_| crate::pac::PWR.cr2().modify(|w| w.set_usv(true)));
|
||||
|
||||
#[cfg(pwr_h5)]
|
||||
|
Loading…
Reference in New Issue
Block a user