We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5311fb8 commit b10719bCopy full SHA for b10719b
src/arduino/Adafruit_USBD_Device.cpp
@@ -176,7 +176,11 @@ bool Adafruit_USBD_Device::attach(void) { return tud_connect(); }
176
void Adafruit_USBD_Device::clearConfiguration(void) {
177
tusb_desc_device_t const desc_dev = {.bLength = sizeof(tusb_desc_device_t),
178
.bDescriptorType = TUSB_DESC_DEVICE,
179
+#if CFG_TUSB_MCU==OPT_MCU_RP2040 // RP2040 only supports full speed
180
+ .bcdUSB = 0x0110,
181
+#else
182
.bcdUSB = 0x0200,
183
+#endif
184
.bDeviceClass = 0,
185
.bDeviceSubClass = 0,
186
.bDeviceProtocol = 0,
0 commit comments