Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HID output endpoint is opened with wrong maximum packet size #31

Closed
FelixGruetzmacher opened this issue Mar 24, 2022 · 1 comment
Closed

Comments

@FelixGruetzmacher
Copy link

Looking at usbd_hid.c, line 295:
mps = HID_APP(itf)->Report->Input.MaxSize;
With very high confidence this should be Output.MaxSize as it is used for opening the output endpoint.
Our device is one of those special cases with long output reports and relatively small input reports, so we were bound to discover this one. :)

benedekkupper added a commit that referenced this issue Mar 25, 2022
@benedekkupper
Copy link
Member

Thanks for catching this bug and finding the root cause, the fix is pushed.

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

No branches or pull requests

2 participants