Remove manual settings of composite_with_iads=true

This commit is contained in:
Eekle
2024-12-24 13:23:08 +01:00
parent 0f4b9c7451
commit a3d35216d4
30 changed files with 0 additions and 201 deletions

View File

@@ -66,13 +66,6 @@ async fn main(_spawner: Spawner) {
config.product = Some("USB-serial example");
config.serial_number = Some("12345678");
// 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 = 0xEF;
config.device_sub_class = 0x02;
config.device_protocol = 0x01;
config.composite_with_iads = true;
// Create embassy-usb DeviceBuilder using the driver and config.
// It needs some buffers for building the descriptors.
let mut config_descriptor = [0; 256];