mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-27 04:10:25 +00:00
Merge pull request #4070 from JuliDi/patch-2
[RP] Fix missing config.composite_with_iads = false; in webusb example
This commit is contained in:
commit
659c616f9f
@ -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];
|
||||
|
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user