Conditionally compile line for all stm32wb chips

This commit is contained in:
Kaitlyn Kenwell 2023-12-08 17:20:23 -05:00 committed by GitHub
parent 4d3fcd8d2d
commit 5973e69244
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(); let regs = T::regs();
#[cfg(any(stm32l5, stm32wb55, stm32wb35))] #[cfg(any(stm32l5, stm32wb))]
crate::pac::PWR.cr2().modify(|w| w.set_usv(true)); crate::pac::PWR.cr2().modify(|w| w.set_usv(true));
#[cfg(pwr_h5)] #[cfg(pwr_h5)]