Added return values to the CDC and MIDI class driver transmit functions.
[pub/USBasp.git] / Demos / Host / ClassDriver / MouseHost / MouseHost.c
index 65fb489..9f76bc7 100644 (file)
@@ -47,7 +47,6 @@ USB_ClassInfo_HID_Host_t Mouse_HID_Interface =
                                .DataINPipeNumber       = 1,\r
                                .DataOUTPipeNumber      = 2,\r
                                \r
-                               .MatchInterfaceProtocol = true,\r
                                .HIDInterfaceProtocol   = 0x02,\r
                        },\r
        };\r
@@ -105,7 +104,7 @@ int main(void)
                                USB_HostState = HOST_STATE_Configured;\r
                                break;\r
                        case HOST_STATE_Configured:\r
-                               if (HID_Host_ReportReceived(&Mouse_HID_Interface))\r
+                               if (HID_Host_IsReportReceived(&Mouse_HID_Interface))\r
                                {\r
                                        \r
                                }\r