X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/8711dc7ced0ed02a33a96222d86bd27f65c239ed..09bedd6555a72c70f6d6bfb965225d44dec171cd:/Demos/Host/ClassDriver/MouseHost/MouseHost.c?ds=inline diff --git a/Demos/Host/ClassDriver/MouseHost/MouseHost.c b/Demos/Host/ClassDriver/MouseHost/MouseHost.c index 65fb4893a..9f76bc754 100644 --- a/Demos/Host/ClassDriver/MouseHost/MouseHost.c +++ b/Demos/Host/ClassDriver/MouseHost/MouseHost.c @@ -47,7 +47,6 @@ USB_ClassInfo_HID_Host_t Mouse_HID_Interface = .DataINPipeNumber = 1, .DataOUTPipeNumber = 2, - .MatchInterfaceProtocol = true, .HIDInterfaceProtocol = 0x02, }, }; @@ -105,7 +104,7 @@ int main(void) USB_HostState = HOST_STATE_Configured; break; case HOST_STATE_Configured: - if (HID_Host_ReportReceived(&Mouse_HID_Interface)) + if (HID_Host_IsReportReceived(&Mouse_HID_Interface)) { }