Finish initial draft of the Host Mode HID Class driver.
[pub/USBasp.git] / Demos / Host / ClassDriver / KeyboardHost / KeyboardHost.c
index effd16b..45cf5e5 100644 (file)
@@ -113,10 +113,8 @@ int main(void)
                        case HOST_STATE_Configured:\r
                                if (HID_Host_IsReportReceived(&Keyboard_HID_Interface))\r
                                {\r
                        case HOST_STATE_Configured:\r
                                if (HID_Host_IsReportReceived(&Keyboard_HID_Interface))\r
                                {\r
-                                       USB_KeyboardReport_Data_t KeyboardReport;\r
-                                       uint8_t ReportID = 0;\r
-                                       \r
-                                       HID_Host_ReceiveReport(&Keyboard_HID_Interface, false, &ReportID, &KeyboardReport);\r
+                                       USB_KeyboardReport_Data_t KeyboardReport;                                       \r
+                                       HID_Host_ReceiveReport(&Keyboard_HID_Interface, &KeyboardReport);\r
 \r
                                        LEDs_ChangeLEDs(LEDS_LED1, (KeyboardReport.Modifier) ? LEDS_LED1 : 0);\r
                                        \r
 \r
                                        LEDs_ChangeLEDs(LEDS_LED1, (KeyboardReport.Modifier) ? LEDS_LED1 : 0);\r
                                        \r