X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/ba7cd3f22e0ec8c2fc7fd5dae3620aa75d926fd3..e5e7eaee7af719cee00a8c2cb6fb4649dde0aa05:/Demos/Device/Joystick/Joystick.c?ds=inline diff --git a/Demos/Device/Joystick/Joystick.c b/Demos/Device/Joystick/Joystick.c index 60eef548e..e5d23bd6d 100644 --- a/Demos/Device/Joystick/Joystick.c +++ b/Demos/Device/Joystick/Joystick.c @@ -145,13 +145,13 @@ EVENT_HANDLER(USB_UnhandledControlPacket) if (wLength > sizeof(JoystickReportData)) wLength = sizeof(JoystickReportData); - Endpoint_ClearControlSETUP(); + Endpoint_ClearSETUP(); /* Write the report data to the control endpoint */ Endpoint_Write_Control_Stream_LE(&JoystickReportData, wLength); /* Finalize the stream transfer to send the last packet or clear the host abort */ - Endpoint_ClearControlOUT(); + Endpoint_ClearOUT(); } break;