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/stm32h7 | |
| parent | 0f4b9c7451b0849857a4bf712194e847db9e5730 (diff) | |
Remove manual settings of `composite_with_iads=true`
Diffstat (limited to 'examples/stm32h7')
| -rw-r--r-- | examples/stm32h7/src/bin/usb_serial.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/stm32h7/src/bin/usb_serial.rs b/examples/stm32h7/src/bin/usb_serial.rs index 65ae597d4..50bb964da 100644 --- a/examples/stm32h7/src/bin/usb_serial.rs +++ b/examples/stm32h7/src/bin/usb_serial.rs | |||
| @@ -67,13 +67,6 @@ async fn main(_spawner: Spawner) { | |||
| 67 | config.product = Some("USB-serial example"); | 67 | config.product = Some("USB-serial example"); |
| 68 | config.serial_number = Some("12345678"); | 68 | config.serial_number = Some("12345678"); |
| 69 | 69 | ||
| 70 | // Required for windows compatibility. | ||
| 71 | // https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/kconfig/CONFIG_CDC_ACM_IAD.html#help | ||
| 72 | config.device_class = 0xEF; | ||
| 73 | config.device_sub_class = 0x02; | ||
| 74 | config.device_protocol = 0x01; | ||
| 75 | config.composite_with_iads = true; | ||
| 76 | |||
| 77 | // Create embassy-usb DeviceBuilder using the driver and config. | 70 | // Create embassy-usb DeviceBuilder using the driver and config. |
| 78 | // It needs some buffers for building the descriptors. | 71 | // It needs some buffers for building the descriptors. |
| 79 | let mut config_descriptor = [0; 256]; | 72 | let mut config_descriptor = [0; 256]; |
