Fixed incorrect defined in Version.h.

Fixed Still Image Host SImage_SendData() function not clearing the pipe bank after sending data.
This commit is contained in:
Dean Camera 2009-04-01 05:38:43 +00:00
parent fa85c5e416
commit 74496a947e
3 changed files with 6 additions and 2 deletions

View file

@ -202,6 +202,9 @@ void SImage_SendData(void* Buffer, uint16_t Bytes)
/* Write the data contents to the pipe */
Pipe_Write_Stream_LE(Buffer, Bytes);
/* Send the last packet to the attached device */
Pipe_ClearCurrentBank();
/* Freeze the pipe again after use */
Pipe_Freeze();
}