Merge pull request #2270 from Redrield/fix/wb55-usb

Assert CR2.USV on stm32wb55, wb35 series chips
This commit is contained in:
Dario Nieuwenhuis 2023-12-08 22:25:51 +00:00 committed by GitHub
commit e0e5f66c4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)]