diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2017-01-25 22:22:34 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-25 22:22:34 +1100 |
commit | da5ca91756425bb8c3cb807522b061ba763d0374 (patch) | |
tree | 1ad5420f78e9b55a7d50bec9ce32e516fad0f619 /LUFA | |
parent | fd50862e4ec934b2a7dbf60891dc8fd95933b26f (diff) | |
parent | d1862656bba0763aa84843a8df0f3526f394e561 (diff) | |
download | lufa-da5ca91756425bb8c3cb807522b061ba763d0374.tar.gz lufa-da5ca91756425bb8c3cb807522b061ba763d0374.tar.bz2 lufa-da5ca91756425bb8c3cb807522b061ba763d0374.zip |
Merge pull request #94 from eltang/descriptor_fix
Fix invalid value in HID_DESCRIPTOR_KEYBOARD() (thanks to Eric Tang).
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/Drivers/USB/Class/Common/HIDClassCommon.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h b/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h index d0ed1eb9c..6227d3b53 100644 --- a/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h +++ b/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h @@ -445,7 +445,7 @@ HID_RI_REPORT_SIZE(8, 0x03), \ HID_RI_OUTPUT(8, HID_IOF_CONSTANT), \ HID_RI_LOGICAL_MINIMUM(8, 0x00), \ - HID_RI_LOGICAL_MAXIMUM(8, 0xFF), \ + HID_RI_LOGICAL_MAXIMUM(16, 0xFF), \ HID_RI_USAGE_PAGE(8, 0x07), \ HID_RI_USAGE_MINIMUM(8, 0x00), \ HID_RI_USAGE_MAXIMUM(8, 0xFF), \ @@ -679,4 +679,3 @@ #endif /** @} */ - |