Skip to content

Conversation

@thamul
Copy link

@thamul thamul commented Nov 21, 2025

I'm not quite sure if it's actually wrong. I found that in five example codes the size of tusb_desc_device_t is taken for the tusb_desc_device_qualifier_t length field. In multiple other example codes the size of the actual struct tusb_desc_device_qualifier_t is taken instead.
But as I said, I'm not sure if it has some other background.

…tusb_desc_device_qualifier_t.

Signed-off-by: Thomas Rubin <[email protected]>
Copy link
Collaborator

@HiFiPhile HiFiPhile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, device qualifer's length is indeed 10 bytes. Although this descriptor does nothing actually
image

Signed-off-by: HiFiPhile <[email protected]>
@HiFiPhile HiFiPhile merged commit 0f1b249 into hathach:master Nov 21, 2025
114 of 115 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants