diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-04-18 10:54:29 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-18 10:54:29 +0000 |
| commit | fce0602dee816ebe1d42bc2482427f88c2dbab7e (patch) | |
| tree | f9b29b650d077511ac3a389beec05111e04079b1 | |
| parent | 27e4d70377542e089f26e556f1f9cf05a98ecdae (diff) | |
| parent | 69d2ce4eab278b839678fb41e2be65618c639145 (diff) | |
Merge pull request #4108 from Josep8128/main
Added USB core_id 0x1000 for 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 51429b8cc..2aca3d929 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 | // Configuring Vbus sense and SOF output | 336 | // Configuring Vbus sense and SOF output |
| 337 | match core_id { | 337 | match core_id { |
| 338 | 0x0000_1200 | 0x0000_1100 => self.inner.config_v1(), | 338 | 0x0000_1200 | 0x0000_1100 | 0x0000_1000 => self.inner.config_v1(), |
| 339 | 0x0000_2000 | 0x0000_2100 | 0x0000_2300 | 0x0000_3000 | 0x0000_3100 => self.inner.config_v2v3(), | 339 | 0x0000_2000 | 0x0000_2100 | 0x0000_2300 | 0x0000_3000 | 0x0000_3100 => self.inner.config_v2v3(), |
| 340 | 0x0000_5000 => self.inner.config_v5(), | 340 | 0x0000_5000 => self.inner.config_v5(), |
| 341 | _ => unimplemented!("Unknown USB core id {:X}", core_id), | 341 | _ => unimplemented!("Unknown USB core id {:X}", core_id), |
