aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/usb
diff options
context:
space:
mode:
authorGerzain Mata <[email protected]>2025-07-23 15:05:04 -0700
committerGerzain Mata <[email protected]>2025-07-23 15:05:04 -0700
commitc5565ccc288863b7d7e5a82aa42141eb7a1cff9f (patch)
treeabbcb9ba71d8874b35b42ab4cc23dcf518d564ea /embassy-stm32/src/usb
parentb4dc4e567c7eda25fe533c7fa771466d1628cb90 (diff)
Working USB. Still no enumeration
Diffstat (limited to 'embassy-stm32/src/usb')
-rw-r--r--embassy-stm32/src/usb/otg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/usb/otg.rs b/embassy-stm32/src/usb/otg.rs
index c8499bdc7..02b27ed48 100644
--- a/embassy-stm32/src/usb/otg.rs
+++ b/embassy-stm32/src/usb/otg.rs
@@ -336,7 +336,7 @@ impl<'d, T: Instance> Bus<'d, T> {
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_usb_otg_hsen(true); 338 w.set_usb_otg_hsen(true);
339 w.set_otghsphyen(true); 339 w.set_usb_otg_hs_phyen(true);
340 }); 340 });
341 }); 341 });
342 } 342 }