Make HID device class driver reselect the correct endpoint after the user callbacks...
[pub/USBasp.git] / Demos / Host / ClassDriver / KeyboardHostWithParser / KeyboardHostWithParser.c
index 520c651..c009462 100644 (file)
@@ -58,7 +58,7 @@ USB_ClassInfo_HID_Host_t Keyboard_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
@@ -261,5 +261,5 @@ bool CALLBACK_HIDParser_FilterHIDReportItem(HID_ReportItem_Attributes_t* Current
         * only store KEYBOARD usage page items into the Processed HID Report structure to\r
         * save RAM and ignore the rest\r
         */\r
-       return (CurrentItemAttributes->Usage.Page == USAGE_PAGE_KEYBOARD)\r
+       return (CurrentItemAttributes->Usage.Page == USAGE_PAGE_KEYBOARD);\r
 }\r