X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/f4814771d2544cc53098fc8c13657eb41e9e9401..a2001ac1ccf4d4919c8243fbc69aff0b68973d3f:/LUFA/Drivers/USB/Class/Host/HID.h?ds=inline diff --git a/LUFA/Drivers/USB/Class/Host/HID.h b/LUFA/Drivers/USB/Class/Host/HID.h index 0386881d2..e67103a69 100644 --- a/LUFA/Drivers/USB/Class/Host/HID.h +++ b/LUFA/Drivers/USB/Class/Host/HID.h @@ -47,6 +47,7 @@ /* Includes: */ #include "../../USB.h" #include "../Common/HID.h" + #include "HIDParser.h" /* Enable C linkage for C++ Compilers: */ #if defined(__cplusplus) @@ -95,14 +96,14 @@ HID_ENUMERROR_InvalidConfigDescriptor = 1, /**< The device returned an invalid Configuration Descriptor */ HID_ENUMERROR_NoHIDInterfaceFound = 2, /**< A compatible HID interface was not found in the device's Configuration Descriptor */ HID_ENUMERROR_EndpointsNotFound = 3, /**< Compatible HID endpoints were not found in the device's CDC interface */ - } CDCHost_EnumerationFailure_ErrorCodes_t; + } HIDHost_EnumerationFailure_ErrorCodes_t; /* Function Prototypes: */ void HID_Host_USBTask(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo); uint8_t HID_Host_ConfigurePipes(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo, uint16_t ConfigDescriptorLength, uint8_t* DeviceConfigDescriptor); - void HID_Host_IsReportReceived(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo); + bool HID_Host_IsReportReceived(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo); /* Private Interface - For use in library only: */ #if !defined(__DOXYGEN__)