remove incompatible device classes and protocol from RP webusb example

This commit is contained in:
JuliDi 2025-04-11 13:57:41 +02:00
parent 6919732666
commit 608fe44a43
No known key found for this signature in database
GPG Key ID: E1E90AE563D09D63
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];