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

Minor ChibiOS bugfixes #27

Merged
merged 2 commits into from Oct 3, 2017
Merged

Minor ChibiOS bugfixes #27

merged 2 commits into from Oct 3, 2017

Conversation

lactide
Copy link

@lactide lactide commented Oct 3, 2017

If you don't compile all available interfaces, linux will complain that the interface numbers are above the interface count. This is against the usb specification 2.0 ("Interfaces are numbered from zero to one less than the number of concurrent interfaces supported by the configuration", Section 9.2.3, page 244)

Moreover the offset to the nkro hid descriptor was incorrectly calculated.

lactide added 2 commits October 3, 2017 23:09
Otherwise Linux complains if you don't compile all interfaces:
"usb 1-1.1: config 1 has an invalid interface number: 4 but max is 2
@tmk tmk merged commit f2ebf6d into tmk:master Oct 3, 2017
@tmk
Copy link
Owner

tmk commented Oct 3, 2017

awesome, thank you.

@lactide lactide deleted the chibios_fixes branch June 10, 2019 19:06
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.

None yet

2 participants