mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-26 16:52:33 +00:00
Merge pull request #2605 from Gekkio/usv-on-l4
USB needs PWR_CR2 USV set on STM32L4
This commit is contained in:
commit
18da9a2b66
@ -264,7 +264,7 @@ impl<'d, T: Instance> Driver<'d, T> {
|
||||
|
||||
let regs = T::regs();
|
||||
|
||||
#[cfg(any(stm32l5, stm32wb))]
|
||||
#[cfg(any(stm32l4, stm32l5, stm32wb))]
|
||||
crate::pac::PWR.cr2().modify(|w| w.set_usv(true));
|
||||
|
||||
#[cfg(pwr_h5)]
|
||||
|
Loading…
Reference in New Issue
Block a user