aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Host')
-rw-r--r--Demos/Host/StillImageHost/StillImageCommands.c3
1 files changed, 3 insertions, 0 deletions
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();
}