Fixed incorrect defined in Version.h.
[pub/USBasp.git] / Demos / Host / StillImageHost / StillImageCommands.c
index 969ff5a..4d4c0b1 100644 (file)
@@ -202,6 +202,9 @@ void SImage_SendData(void* Buffer, uint16_t Bytes)
        /* 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