Skip to content

fix bInterval for usb-hs, units are different between fs and hs#991

Merged
mattnite merged 1 commit into
ZigEmbeddedGroup:mainfrom
Copper280z:main
Jul 19, 2026
Merged

fix bInterval for usb-hs, units are different between fs and hs#991
mattnite merged 1 commit into
ZigEmbeddedGroup:mainfrom
Copper280z:main

Conversation

@Copper280z

Copy link
Copy Markdown
Contributor

bInterval has different units for HS compared to FS. This uses max_supported_packet_size as a proxy for FS/HS, which is a slight hack, but it's also never going to change.

Reference is page 271 in the usb 2.0 spec.

@mattnite
mattnite merged commit 3bbf7a5 into ZigEmbeddedGroup:main Jul 19, 2026
33 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.

2 participants