Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

fixed size HID IN message

Latest
Compare
Choose a tag to compare
@majbthrd majbthrd released this 03 Aug 19:48

The prior code had the best intentions by sizing the HID IN response to be the same as the OUT message, but this was a flawed approach. In theory, the PC side software should always follow the HID Report Descriptor size of 64 bytes, so the response would happen to be the same (and be of the correct size). However, some IDE software (Linux only) did not do this, and so the response was under-sized. The IDE would give a cryptic error message and the user was none the wiser as to what went wrong.