Fix issue in CDC device class driver where received data the size of the data endpoin...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Host / HID.h
index 344c06f..0386881 100644 (file)
@@ -78,6 +78,8 @@
                                           */\r
                                struct\r
                                {\r
+                                       bool Active; /**< Indicates if the current interface instance is connected to an attached device */\r
+\r
                                        uint16_t DataINPipeSize; /**< Size in bytes of the HID interface's IN data pipe */\r
                                        uint16_t DataOUTPipeSize;  /**< Size in bytes of the HID interface's OUT data pipe */\r
                                } State; /**< State data for the USB class interface within the device. All elements in this section\r
                        void HID_Host_USBTask(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo);\r
                        uint8_t HID_Host_ConfigurePipes(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo, uint16_t ConfigDescriptorLength,\r
                                                        uint8_t* DeviceConfigDescriptor);\r
+\r
+                       void HID_Host_IsReportReceived(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo);\r
                \r
        /* Private Interface - For use in library only: */\r
        #if !defined(__DOXYGEN__)\r