We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72ebab0 commit 3672613Copy full SHA for 3672613
subsys/usb/host/usbh_desc.c
@@ -23,6 +23,7 @@ struct usb_desc_header *usbh_desc_get_by_type(const uint8_t *const start_addr,
23
if ((BIT(desc->bDescriptorType) & type_mask) != 0) {
24
return desc;
25
}
26
+ curr_addr += desc->bLength;
27
28
29
return NULL;
0 commit comments