diff options
| author | Eekle <[email protected]> | 2024-12-24 13:23:08 +0100 |
|---|---|---|
| committer | Eekle <[email protected]> | 2024-12-24 13:23:08 +0100 |
| commit | a3d35216d4649fbadd3e78fe240b736258b7befe (patch) | |
| tree | f3b09e194e919747c93ebf714e416491c875408b /examples/stm32l1/src | |
| parent | 0f4b9c7451b0849857a4bf712194e847db9e5730 (diff) | |
Remove manual settings of `composite_with_iads=true`
Diffstat (limited to 'examples/stm32l1/src')
| -rw-r--r-- | examples/stm32l1/src/bin/usb_serial.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/stm32l1/src/bin/usb_serial.rs b/examples/stm32l1/src/bin/usb_serial.rs index 837f7fa57..a35f1d7a7 100644 --- a/examples/stm32l1/src/bin/usb_serial.rs +++ b/examples/stm32l1/src/bin/usb_serial.rs | |||
| @@ -41,11 +41,6 @@ async fn main(_spawner: Spawner) { | |||
| 41 | config.product = Some("USB-Serial Example"); | 41 | config.product = Some("USB-Serial Example"); |
| 42 | config.serial_number = Some("123456"); | 42 | config.serial_number = Some("123456"); |
| 43 | 43 | ||
| 44 | config.device_class = 0xEF; | ||
| 45 | config.device_sub_class = 0x02; | ||
| 46 | config.device_protocol = 0x01; | ||
| 47 | config.composite_with_iads = true; | ||
| 48 | |||
| 49 | let mut config_descriptor = [0; 256]; | 44 | let mut config_descriptor = [0; 256]; |
| 50 | let mut bos_descriptor = [0; 256]; | 45 | let mut bos_descriptor = [0; 256]; |
| 51 | let mut control_buf = [0; 64]; | 46 | let mut control_buf = [0; 64]; |
