From c438d01f875d67c148c1b988f4b116f426842287 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 23 Nov 2009 13:01:50 +0000 Subject: Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt data in the HID Host Parser. --- LUFA/Drivers/USB/Class/Common/HID.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'LUFA/Drivers/USB/Class/Common') 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 -- cgit v1.2.3