diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-04-11 14:20:59 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-11 14:20:59 +0000 |
| commit | 659c616f9f13aa6f157eaef5279f09805449b5be (patch) | |
| tree | 95decc294f2a97ec5d50dd409b0252e682fed2dc | |
| parent | 0ecde285cc07b81ce459e31763e8b68f0fc07354 (diff) | |
| parent | 608fe44a43a527beef946c4e087008f549e3f3e5 (diff) | |
Merge pull request #4070 from JuliDi/patch-2
[RP] Fix missing config.composite_with_iads = false; in webusb example
| -rw-r--r-- | examples/rp/src/bin/usb_webusb.rs | 6 | ||||
| -rw-r--r-- | examples/rp235x/src/bin/usb_webusb.rs | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/examples/rp/src/bin/usb_webusb.rs b/examples/rp/src/bin/usb_webusb.rs index e73938ac9..a5dc94d5b 100644 --- a/examples/rp/src/bin/usb_webusb.rs +++ b/examples/rp/src/bin/usb_webusb.rs | |||
| @@ -51,12 +51,6 @@ async fn main(_spawner: Spawner) { | |||
| 51 | config.max_power = 100; | 51 | config.max_power = 100; |
| 52 | config.max_packet_size_0 = 64; | 52 | config.max_packet_size_0 = 64; |
| 53 | 53 | ||
| 54 | // Required for windows compatibility. | ||
| 55 | // https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/kconfig/CONFIG_CDC_ACM_IAD.html#help | ||
| 56 | config.device_class = 0xff; | ||
| 57 | config.device_sub_class = 0x00; | ||
| 58 | config.device_protocol = 0x00; | ||
| 59 | |||
| 60 | // Create embassy-usb DeviceBuilder using the driver and config. | 54 | // Create embassy-usb DeviceBuilder using the driver and config. |
| 61 | // It needs some buffers for building the descriptors. | 55 | // It needs some buffers for building the descriptors. |
| 62 | let mut config_descriptor = [0; 256]; | 56 | let mut config_descriptor = [0; 256]; |
diff --git a/examples/rp235x/src/bin/usb_webusb.rs b/examples/rp235x/src/bin/usb_webusb.rs index e73938ac9..a5dc94d5b 100644 --- a/examples/rp235x/src/bin/usb_webusb.rs +++ b/examples/rp235x/src/bin/usb_webusb.rs | |||
| @@ -51,12 +51,6 @@ async fn main(_spawner: Spawner) { | |||
| 51 | config.max_power = 100; | 51 | config.max_power = 100; |
| 52 | config.max_packet_size_0 = 64; | 52 | config.max_packet_size_0 = 64; |
| 53 | 53 | ||
| 54 | // Required for windows compatibility. | ||
| 55 | // https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/kconfig/CONFIG_CDC_ACM_IAD.html#help | ||
| 56 | config.device_class = 0xff; | ||
| 57 | config.device_sub_class = 0x00; | ||
| 58 | config.device_protocol = 0x00; | ||
| 59 | |||
| 60 | // Create embassy-usb DeviceBuilder using the driver and config. | 54 | // Create embassy-usb DeviceBuilder using the driver and config. |
| 61 | // It needs some buffers for building the descriptors. | 55 | // It needs some buffers for building the descriptors. |
| 62 | let mut config_descriptor = [0; 256]; | 56 | let mut config_descriptor = [0; 256]; |
