From 74496a947eef42b416a8a0cb11b7415ac6fa103b Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 1 Apr 2009 05:38:43 +0000 Subject: Fixed incorrect defined in Version.h. Fixed Still Image Host SImage_SendData() function not clearing the pipe bank after sending data. --- Demos/Host/StillImageHost/StillImageCommands.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Demos') 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(); } -- cgit v1.2.3