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/rp23/src | |
| parent | 0f4b9c7451b0849857a4bf712194e847db9e5730 (diff) | |
Remove manual settings of `composite_with_iads=true`
Diffstat (limited to 'examples/rp23/src')
| -rw-r--r-- | examples/rp23/src/bin/pio_uart.rs | 7 |
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]; |
