Merge pull request #2270 from Redrield/fix/wb55-usb
Assert CR2.USV on stm32wb55, wb35 series chips
This commit is contained in:
commit
e0e5f66c4b
@ -263,7 +263,7 @@ impl<'d, T: Instance> Driver<'d, T> {
|
||||
|
||||
let regs = T::regs();
|
||||
|
||||
#[cfg(stm32l5)]
|
||||
#[cfg(any(stm32l5, stm32wb))]
|
||||
crate::pac::PWR.cr2().modify(|w| w.set_usv(true));
|
||||
|
||||
#[cfg(pwr_h5)]
|
||||
|
Loading…
Reference in New Issue
Block a user