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:
parent
fa85c5e416
commit
74496a947e
3 changed files with 6 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue