X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/ed031c1df2f5b053b9cd9f48c63e66a42b7c049e..fb3fcb968ea70f8b5c6d8f7edde65745e49628f2:/Demos/Host/StillImageHost/StillImageCommands.c 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(); }