Merge pull request #4070 from JuliDi/patch-2

[RP] Fix missing config.composite_with_iads = false; in webusb example
This commit is contained in:
Dario Nieuwenhuis 2025-04-11 14:20:59 +00:00 committed by GitHub
commit 659c616f9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 12 deletions

View File

@ -51,12 +51,6 @@ async fn main(_spawner: Spawner) {
config.max_power = 100;
config.max_packet_size_0 = 64;
// Required for windows compatibility.
// https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/kconfig/CONFIG_CDC_ACM_IAD.html#help
config.device_class = 0xff;
config.device_sub_class = 0x00;
config.device_protocol = 0x00;
// Create embassy-usb DeviceBuilder using the driver and config.
// It needs some buffers for building the descriptors.
let mut config_descriptor = [0; 256];

View File

@ -51,12 +51,6 @@ async fn main(_spawner: Spawner) {
config.max_power = 100;
config.max_packet_size_0 = 64;
// Required for windows compatibility.
// https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/kconfig/CONFIG_CDC_ACM_IAD.html#help
config.device_class = 0xff;
config.device_sub_class = 0x00;
config.device_protocol = 0x00;
// Create embassy-usb DeviceBuilder using the driver and config.
// It needs some buffers for building the descriptors.
let mut config_descriptor = [0; 256];