Conditionally compile line for all stm32wb chips
This commit is contained in:
parent
4d3fcd8d2d
commit
5973e69244
@ -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)]
|
||||||
|
Loading…
Reference in New Issue
Block a user