case REQ_GetLineEncoding:\r
if (bmRequestType == (REQDIR_DEVICETOHOST | REQTYPE_CLASS | REQREC_INTERFACE))\r
{ \r
- /* Acknowedge the SETUP packet, ready for data transfer */\r
+ /* Acknowledge the SETUP packet, ready for data transfer */\r
Endpoint_ClearSetupReceived();\r
\r
/* Write the line coding data to the control endpoint */\r
case REQ_SetLineEncoding:\r
if (bmRequestType == (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_INTERFACE))\r
{\r
- /* Acknowedge the SETUP packet, ready for data transfer */\r
+ /* Acknowledge the SETUP packet, ready for data transfer */\r
Endpoint_ClearSetupReceived();\r
\r
/* Read the line coding data in from the host into the global struct */\r
case REQ_SetControlLineState:\r
if (bmRequestType == (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_INTERFACE))\r
{\r
- /* Acknowedge the SETUP packet, ready for data transfer */\r
+ /* Acknowledge the SETUP packet, ready for data transfer */\r
Endpoint_ClearSetupReceived();\r
\r
- /* Send an empty packet to acknowedge the command */\r
+ /* Acknowledge status stage */\r
+ while (!(Endpoint_IsSetupINReady()));\r
Endpoint_ClearSetupIN();\r
}\r
\r