Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always read two bytes from the endpoint if we have two bytes to read
When this if statement is false, it will cause the report ID to be read as the LED state. We already know there are two bytes in the endpoint, which is a reasonably good indicator that it contains a report ID, so we should always read both.
- Loading branch information