aboutsummaryrefslogtreecommitdiff
path: root/examples/rp23/src
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/rp23/src
parent0f4b9c7451b0849857a4bf712194e847db9e5730 (diff)
Remove manual settings of `composite_with_iads=true`
Diffstat (limited to 'examples/rp23/src')
-rw-r--r--examples/rp23/src/bin/pio_uart.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/rp23/src/bin/pio_uart.rs b/examples/rp23/src/bin/pio_uart.rs
index f8398c22a..672732c5b 100644
--- a/examples/rp23/src/bin/pio_uart.rs
+++ b/examples/rp23/src/bin/pio_uart.rs
@@ -52,13 +52,6 @@ async fn main(_spawner: Spawner) {
52 config.max_power = 100; 52 config.max_power = 100;
53 config.max_packet_size_0 = 64; 53 config.max_packet_size_0 = 64;
54 54
55 // Required for windows compatibility.
56 // https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/kconfig/CONFIG_CDC_ACM_IAD.html#help
57 config.device_class = 0xEF;
58 config.device_sub_class = 0x02;
59 config.device_protocol = 0x01;
60 config.composite_with_iads = true;
61
62 // Create embassy-usb DeviceBuilder using the driver and config. 55 // Create embassy-usb DeviceBuilder using the driver and config.
63 // It needs some buffers for building the descriptors. 56 // It needs some buffers for building the descriptors.
64 let mut config_descriptor = [0; 256]; 57 let mut config_descriptor = [0; 256];