Fix to previous patch (make CDCHost demo deallocate pipes when an invalid CDC interfa...
[pub/USBasp.git] / Demos / Host / MouseHostWithParser / HIDReport.h
index 8ebb97d..b248855 100644 (file)
@@ -37,7 +37,7 @@
 #define _HID_REPORT_H_\r
 \r
        /* Includes: */\r
-               #include <LUFA/Drivers/USB/Class/HIDParser.h>            // HID Class Report Parser\r
+               #include <LUFA/Drivers/USB/USB.h>            // USB Functionality\r
                \r
                #include "MouseHostWithParser.h"\r
 \r
@@ -60,7 +60,7 @@
                {\r
                        ParseSuccessful         = 0, /**< HID report descriptor parsed successfully */\r
                        ParseError              = 1, /**< Failed to fully process the HID report descriptor */\r
-                       ParseControlError       = 2, /**< Control error occured while trying to read the device HID descriptor */\r
+                       ParseControlError       = 2, /**< Control error occurred while trying to read the device HID descriptor */\r
                };\r
                \r
        /* Type Defines: */\r
@@ -72,7 +72,7 @@
                        uint16_t                 HIDSpec; /**< Implemented HID class specification, in BCD encoded format */\r
                        uint8_t                  CountryCode; /**< Country code value for localized hardware */\r
                \r
-                       uint8_t                  TotalHIDReports; /**< Total number of HID report descriptors in the current interface */\r
+                       uint8_t                  TotalHIDDescriptors; /**< Total number of HID report descriptors in the current interface */\r
 \r
                        uint8_t                  HIDReportType; /**< HID report type of the first HID report descriptor */\r
                        uint16_t                 HIDReportLength; /**< Total size in bytes of the first HID report descriptor */\r