Fix nasty bug in USBInterrupt.c which would cause a lockup if the control endpoint...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Device / HID.h
index ac6ee4c..9e42843 100644 (file)
                         *  \param[in,out] HIDInterfaceInfo  Pointer to a structure containing a HID Class configuration and state
                         *  \param[in] ReportID  Report ID of the received output report. If multiple reports are not received via the given HID
                         *                   interface, this parameter should be ignored.
+                        *  \param[in] ReportType  Type of received HID report, either \ref REPORT_ITEM_TYPE_Out or \ref REPORT_ITEM_TYPE_Feature
                         *  \param[in] ReportData  Pointer to a buffer where the received HID report is stored.
                         *  \param[in] ReportSize  Size in bytes of the received report from the host.
                         */
                        void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo, const uint8_t ReportID,
-                                                                 const void* ReportData, const uint16_t ReportSize) ATTR_NON_NULL_PTR_ARG(1)
-                                                                 ATTR_NON_NULL_PTR_ARG(3);
+                                                                 const uint8_t ReportType, const void* ReportData, const uint16_t ReportSize) ATTR_NON_NULL_PTR_ARG(1)
+                                                                 ATTR_NON_NULL_PTR_ARG(4);
 
                /* Inline Functions: */
                        /** Indicates that a millisecond of idle time has elapsed on the given HID interface, and the interface's idle count should be