diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-23 13:01:50 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-23 13:01:50 +0000 |
commit | c438d01f875d67c148c1b988f4b116f426842287 (patch) | |
tree | ee2cace0c55611090a8ab23640f9f565dc160a16 /LUFA | |
parent | aaa0bed556d0fa424b831418a7ce2531653a8b03 (diff) | |
download | lufa-c438d01f875d67c148c1b988f4b116f426842287.tar.gz lufa-c438d01f875d67c148c1b988f4b116f426842287.tar.bz2 lufa-c438d01f875d67c148c1b988f4b116f426842287.zip |
Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt data in the HID Host Parser.
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/Drivers/USB/Class/Common/HID.h | 6 | ||||
-rw-r--r-- | LUFA/ManPages/ChangeLog.txt | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/Class/Common/HID.h b/LUFA/Drivers/USB/Class/Common/HID.h index f3033173e..827180887 100644 --- a/LUFA/Drivers/USB/Class/Common/HID.h +++ b/LUFA/Drivers/USB/Class/Common/HID.h @@ -90,9 +90,9 @@ /** Enum for the different types of HID reports. */
enum HID_ReportItemTypes_t
{
- REPORT_ITEM_TYPE_In = 1, /**< Indicates that the item is an IN report type. */
- REPORT_ITEM_TYPE_Out = 2, /**< Indicates that the item is an OUT report type. */
- REPORT_ITEM_TYPE_Feature = 3, /**< Indicates that the item is a FEATURE report type. */
+ REPORT_ITEM_TYPE_In = 0, /**< Indicates that the item is an IN report type. */
+ REPORT_ITEM_TYPE_Out = 1, /**< Indicates that the item is an OUT report type. */
+ REPORT_ITEM_TYPE_Feature = 2, /**< Indicates that the item is a FEATURE report type. */
};
/** Type define for the HID class specific HID descriptor, to describe the HID device's specifications. Refer to the HID
diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index 996f716c1..a69eb9a1d 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -21,6 +21,7 @@ *
* <b>Fixed:</b>
* - Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver
+ * - Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt data in the HID Host Parser
*
* \section Sec_ChangeLog091122 Version 091122
*
|