Skip to content

Commit

Permalink
stm32/usb: enable USV for U0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirbaio committed Apr 16, 2024
1 parent e5e9fb7 commit 2bd5095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embassy-stm32/src/usb/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn common_init<T: Instance>() {
)
}

#[cfg(any(stm32l4, stm32l5, stm32wb))]
#[cfg(any(stm32l4, stm32l5, stm32wb, stm32u0))]
critical_section::with(|_| crate::pac::PWR.cr2().modify(|w| w.set_usv(true)));

#[cfg(pwr_h5)]
Expand Down

0 comments on commit 2bd5095

Please sign in to comment.