aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Common
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-11-23 13:01:50 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-11-23 13:01:50 +0000
commitc438d01f875d67c148c1b988f4b116f426842287 (patch)
treeee2cace0c55611090a8ab23640f9f565dc160a16 /LUFA/Drivers/USB/Class/Common
parentaaa0bed556d0fa424b831418a7ce2531653a8b03 (diff)
downloadlufa-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/Drivers/USB/Class/Common')
-rw-r--r--LUFA/Drivers/USB/Class/Common/HID.h6
1 files changed, 3 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