aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h7rs/src/bin
diff options
context:
space:
mode:
authorEekle <[email protected]>2024-12-24 13:23:08 +0100
committerEekle <[email protected]>2024-12-24 13:23:08 +0100
commita3d35216d4649fbadd3e78fe240b736258b7befe (patch)
treef3b09e194e919747c93ebf714e416491c875408b /examples/stm32h7rs/src/bin
parent0f4b9c7451b0849857a4bf712194e847db9e5730 (diff)
Remove manual settings of `composite_with_iads=true`
Diffstat (limited to 'examples/stm32h7rs/src/bin')
-rw-r--r--examples/stm32h7rs/src/bin/usb_serial.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/stm32h7rs/src/bin/usb_serial.rs b/examples/stm32h7rs/src/bin/usb_serial.rs
index 6773f7843..56a9884af 100644
--- a/examples/stm32h7rs/src/bin/usb_serial.rs
+++ b/examples/stm32h7rs/src/bin/usb_serial.rs
@@ -70,12 +70,6 @@ async fn main(_spawner: Spawner) {
70 config.manufacturer = Some("Embassy"); 70 config.manufacturer = Some("Embassy");
71 config.product = Some("USB-serial example"); 71 config.product = Some("USB-serial example");
72 config.serial_number = Some("12345678"); 72 config.serial_number = Some("12345678");
73 // Required for windows compatibility.
74 // https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/kconfig/CONFIG_CDC_ACM_IAD.html#help
75 config.device_class = 0xEF;
76 config.device_sub_class = 0x02;
77 config.device_protocol = 0x01;
78 config.composite_with_iads = true;
79 73
80 // Create embassy-usb DeviceBuilder using the driver and config. 74 // Create embassy-usb DeviceBuilder using the driver and config.
81 // It needs some buffers for building the descriptors. 75 // It needs some buffers for building the descriptors.