Make HID device class driver reselect the correct endpoint after the user callbacks...
[pub/USBasp.git] / Demos / Host / ClassDriver / MouseHost / MouseHost.c
index 7434e7c..fbf35c0 100644 (file)
@@ -53,7 +53,7 @@ USB_ClassInfo_HID_Host_t Mouse_HID_Interface =
 \r
        \r
 /** Main program entry point. This routine configures the hardware required by the application, then\r
- *  starts the scheduler to run the application tasks.\r
+ *  enters a loop to run the application tasks in sequence.\r
  */\r
 int main(void)\r
 {\r
@@ -99,7 +99,7 @@ int main(void)
                                        break;\r
                                }\r
 \r
-                               if (USB_HID_Host_SetBootProtocol(&Mouse_HID_Interface) != 0)\r
+                               if (HID_Host_SetBootProtocol(&Mouse_HID_Interface) != 0)\r
                                {\r
                                        printf("Could not Set Boot Protocol Mode.\r\n");\r
                                        LEDs_SetAllLEDs(LEDMASK_USB_ERROR);\r