diff options
| author | Gerzain Mata <[email protected]> | 2025-07-16 17:32:34 -0700 |
|---|---|---|
| committer | Gerzain Mata <[email protected]> | 2025-07-16 17:32:34 -0700 |
| commit | d3308f7e5a02da5fb6ccdd6059afe8656761a685 (patch) | |
| tree | c4e0a7526edaf9889a101169e5162090da9da0b0 /embassy-stm32 | |
| parent | 6d0927b1746b7f972e9fbf2278aa854a64f4f776 (diff) | |
Fixed register names from recent stm32-data changes
Diffstat (limited to 'embassy-stm32')
| -rw-r--r-- | embassy-stm32/src/usb/otg.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/usb/otg.rs b/embassy-stm32/src/usb/otg.rs index a8b625e8c..5602a2541 100644 --- a/embassy-stm32/src/usb/otg.rs +++ b/embassy-stm32/src/usb/otg.rs | |||
| @@ -335,7 +335,7 @@ impl<'d, T: Instance> Bus<'d, T> { | |||
| 335 | 335 | ||
| 336 | critical_section::with(|_| { | 336 | critical_section::with(|_| { |
| 337 | crate::pac::RCC.ahb2enr().modify(|w| { | 337 | crate::pac::RCC.ahb2enr().modify(|w| { |
| 338 | w.set_otgen(true); | 338 | w.set_usb_otg_hsen(true); |
| 339 | w.set_otghsphyen(true); | 339 | w.set_otghsphyen(true); |
| 340 | }); | 340 | }); |
| 341 | }); | 341 | }); |
