Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt data in the HID Host Parser.

This commit is contained in:
Dean Camera 2009-11-23 13:01:50 +00:00
parent aaa0bed556
commit c438d01f87
5 changed files with 15 additions and 66 deletions

View file

@ -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