X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/fa85c5e4169c27cb76c24e89cab63c2b062739c4..74496a947eef42b416a8a0cb11b7415ac6fa103b:/Demos/Host/StillImageHost/StillImageCommands.c?ds=inline diff --git a/Demos/Host/StillImageHost/StillImageCommands.c b/Demos/Host/StillImageHost/StillImageCommands.c index 969ff5af6..4d4c0b170 100644 --- a/Demos/Host/StillImageHost/StillImageCommands.c +++ b/Demos/Host/StillImageHost/StillImageCommands.c @@ -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(); }