/* Check to see if a new frame has been issued (1ms elapsed) */\r
if (USB_INT_HasOccurred(USB_INT_HSOFI))\r
{\r
- /* Clear the flag and decrement the timout period counter */\r
+ /* Clear the flag and decrement the timeout period counter */\r
USB_INT_Clear(USB_INT_HSOFI);\r
TimeoutMSRem--;\r
\r
/* Write the data contents to the pipe */\r
Pipe_Write_Stream_LE(Buffer, Bytes);\r
\r
+ /* Send the last packet to the attached device */\r
+ Pipe_ClearCurrentBank();\r
+\r
/* Freeze the pipe again after use */\r
Pipe_Freeze();\r
}\r