Fixed swapped paremeters in the HID state memory copy call while processing a HID...
[pub/lufa.git] / Demos / Host / ClassDriver / MouseHost / MouseHost.c
index 65fb489..cf2997b 100644 (file)
@@ -105,7 +105,7 @@ int main(void)
                                USB_HostState = HOST_STATE_Configured;\r
                                break;\r
                        case HOST_STATE_Configured:\r
                                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
                                {\r
                                        \r
                                }\r