usb: Add XUSB support mainly for T210B01
This commit is contained in:
1 parent
2424ecc4f0
commit
a1188505e8
10 files changed
+2195
-11
No files matched your search
@@ -988,6 +988,7 @@ static void _usbd_handle_get_descriptor(bool *transmit_data, void **descriptor,
|
||||
case USB_DESCRIPTOR_DEVICE_QUALIFIER:
|
||||
if (!usbd_otg->desc->dev_qual)
|
||||
goto exit;
|
||||
usbd_otg->desc->dev_qual->bNumOtherConfigs = 1;
|
||||
*descriptor = usbd_otg->desc->dev_qual;
|
||||
*size = usbd_otg->desc->dev_qual->bLength;
|
||||
*transmit_data = true;
|
||||
|
||||
Reference in new issue
Block a user