diff options
author | fauxpark <fauxpark@gmail.com> | 2019-01-22 21:43:17 +1100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-01-22 09:30:01 -0800 |
commit | ae79b60e6bfc03c7fa84076e508f0f2241f087c2 (patch) | |
tree | e003132a05fe290a3dc52e0200f084a6d244c98d /keyboards/alice | |
parent | 8cf7265f8fae6f94b17c5d78ed41e52b22e2b218 (diff) | |
download | firmware-ae79b60e6bfc03c7fa84076e508f0f2241f087c2.tar.gz firmware-ae79b60e6bfc03c7fa84076e508f0f2241f087c2.tar.bz2 firmware-ae79b60e6bfc03c7fa84076e508f0f2241f087c2.zip |
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.
Diffstat (limited to 'keyboards/alice')
0 files changed, 0 insertions, 0 deletions