Make device mode configure the control endpoint even before the bus has been reset...
[pub/USBasp.git] / Demos / Host / ClassDriver / KeyboardHostWithParser / KeyboardHostWithParser.h
index 1027d3c..5ecfdf4 100644 (file)
@@ -64,7 +64,7 @@
                /** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */
                #define LEDMASK_USB_ERROR        (LEDS_LED1 | LEDS_LED3)
                
-               /** HID Report Descriptor Usage Page value for a desktop keyboard */
+               /** HID Report Descriptor Usage Page value for a desktop keyboard. */
                #define USAGE_PAGE_KEYBOARD      0x07
 
        /* Function Prototypes: */
                void EVENT_USB_Host_HostError(const uint8_t ErrorCode);
                void EVENT_USB_Host_DeviceAttached(void);
                void EVENT_USB_Host_DeviceUnattached(void);
-               void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode);
+               void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode,
+                                                           const uint8_t SubErrorCode);
                void EVENT_USB_Host_DeviceEnumerationComplete(void);
                
-               bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_t* CurrentItem);
+               bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_t* const CurrentItem);
                
 #endif