case HOST_STATE_Ready:\r
/* Select and the data IN pipe */\r
Pipe_SelectPipe(CDC_DATAPIPE_IN);\r
+ Pipe_Unfreeze();\r
\r
/* Check to see if a packet has been received */\r
if (Pipe_IsINReceived())\r
{\r
+ /* Re-freeze IN pipe after the packet has been received */\r
+ Pipe_Freeze();\r
+\r
/* Check if data is in the pipe */\r
if (Pipe_IsReadWriteAllowed())\r
{\r
Pipe_ClearIN();\r
}\r
\r
+ /* Re-freeze IN pipe after use */\r
+ Pipe_Freeze();\r
+\r
/* Select and unfreeze the notification pipe */\r
Pipe_SelectPipe(CDC_NOTIFICATIONPIPE);\r
Pipe_Unfreeze();\r