diff options
| -rw-r--r-- | embassy-stm32/src/usb/usb.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/usb/usb.rs b/embassy-stm32/src/usb/usb.rs index 34d6b52fd..be321a19b 100644 --- a/embassy-stm32/src/usb/usb.rs +++ b/embassy-stm32/src/usb/usb.rs | |||
| @@ -264,7 +264,7 @@ impl<'d, T: Instance> Driver<'d, T> { | |||
| 264 | 264 | ||
| 265 | let regs = T::regs(); | 265 | let regs = T::regs(); |
| 266 | 266 | ||
| 267 | #[cfg(any(stm32l5, stm32wb))] | 267 | #[cfg(any(stm32l4, stm32l5, stm32wb))] |
| 268 | crate::pac::PWR.cr2().modify(|w| w.set_usv(true)); | 268 | crate::pac::PWR.cr2().modify(|w| w.set_usv(true)); |
| 269 | 269 | ||
| 270 | #[cfg(pwr_h5)] | 270 | #[cfg(pwr_h5)] |
