if (wLength > sizeof(JoystickReportData))\r
wLength = sizeof(JoystickReportData);\r
\r
- Endpoint_ClearControlSETUP();\r
+ Endpoint_ClearSETUP();\r
\r
/* Write the report data to the control endpoint */\r
Endpoint_Write_Control_Stream_LE(&JoystickReportData, wLength);\r
\r
/* Finalize the stream transfer to send the last packet or clear the host abort */\r
- Endpoint_ClearControlOUT();\r
+ Endpoint_ClearOUT();\r
}\r
\r
break;\r