stm32/usb: enable USV for U0.

This commit is contained in:
Dario Nieuwenhuis 2024-04-16 20:37:42 +02:00
parent e5e9fb78af
commit 2bd5095991

View File

@ -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))); critical_section::with(|_| crate::pac::PWR.cr2().modify(|w| w.set_usv(true)));
#[cfg(pwr_h5)] #[cfg(pwr_h5)]