diff options
| author | Eekle <[email protected]> | 2024-12-24 13:23:08 +0100 |
|---|---|---|
| committer | Eekle <[email protected]> | 2024-12-24 13:23:08 +0100 |
| commit | a3d35216d4649fbadd3e78fe240b736258b7befe (patch) | |
| tree | f3b09e194e919747c93ebf714e416491c875408b /examples/stm32l5 | |
| parent | 0f4b9c7451b0849857a4bf712194e847db9e5730 (diff) | |
Remove manual settings of `composite_with_iads=true`
Diffstat (limited to 'examples/stm32l5')
| -rw-r--r-- | examples/stm32l5/src/bin/usb_ethernet.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/stm32l5/src/bin/usb_ethernet.rs b/examples/stm32l5/src/bin/usb_ethernet.rs index 095d50c73..809ec6ab1 100644 --- a/examples/stm32l5/src/bin/usb_ethernet.rs +++ b/examples/stm32l5/src/bin/usb_ethernet.rs | |||
| @@ -72,12 +72,6 @@ async fn main(spawner: Spawner) { | |||
| 72 | config.max_power = 100; | 72 | config.max_power = 100; |
| 73 | config.max_packet_size_0 = 64; | 73 | config.max_packet_size_0 = 64; |
| 74 | 74 | ||
| 75 | // Required for Windows support. | ||
| 76 | config.composite_with_iads = true; | ||
| 77 | config.device_class = 0xEF; | ||
| 78 | config.device_sub_class = 0x02; | ||
| 79 | config.device_protocol = 0x01; | ||
| 80 | |||
| 81 | // Create embassy-usb DeviceBuilder using the driver and config. | 75 | // Create embassy-usb DeviceBuilder using the driver and config. |
| 82 | static CONFIG_DESC: StaticCell<[u8; 256]> = StaticCell::new(); | 76 | static CONFIG_DESC: StaticCell<[u8; 256]> = StaticCell::new(); |
| 83 | static BOS_DESC: StaticCell<[u8; 256]> = StaticCell::new(); | 77 | static BOS_DESC: StaticCell<[u8; 256]> = StaticCell::new(); |
