diff options
| author | Thomas Rubin <[email protected]> | 2025-11-21 14:23:47 +0100 |
|---|---|---|
| committer | Thomas Rubin <[email protected]> | 2025-11-21 14:31:45 +0100 |
| commit | 183c5ef02794bc26117a1115346580e606567f1f (patch) | |
| tree | 76c4f578ed13bde08d7d3fc83bdc79cce25bd873 /examples/device/video_capture/src | |
| parent | c785469881199b92b5ee8739d56ffe5aebcb6804 (diff) | |
Fix in multiple example codes, wrong descriptor length was taken for tusb_desc_device_qualifier_t.
Signed-off-by: Thomas Rubin <[email protected]>
Diffstat (limited to 'examples/device/video_capture/src')
| -rw-r--r-- | examples/device/video_capture/src/usb_descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/video_capture/src/usb_descriptors.c b/examples/device/video_capture/src/usb_descriptors.c index 114dd5722..851ebb297 100644 --- a/examples/device/video_capture/src/usb_descriptors.c +++ b/examples/device/video_capture/src/usb_descriptors.c @@ -385,7 +385,7 @@ static uint8_t * get_hs_configuration_desc(void) { // device qualifier is mostly similar to device descriptor since we don't change configuration based on speed static tusb_desc_device_qualifier_t const desc_device_qualifier = { - .bLength = sizeof(tusb_desc_device_t), + .bLength = sizeof(tusb_desc_device_qualifier_t), .bDescriptorType = TUSB_DESC_DEVICE, .bcdUSB = USB_BCD, |
