diff --git a/Demos/Host/StillImageHost/StillImageCommands.c b/Demos/Host/StillImageHost/StillImageCommands.c index 969ff5af68696d54452906b5f80e46fe42962450..4d4c0b170541eaecbd60cc133b3a395c95e48f65 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(); } diff --git a/LUFA/ChangeLog.txt b/LUFA/ChangeLog.txt index de0e5abde407b104000327e58248d94f96520cdd..72bcfee227fef8e5f919449f0277214db93ae078 100644 --- a/LUFA/ChangeLog.txt +++ b/LUFA/ChangeLog.txt @@ -45,6 +45,7 @@ * - Fixed USBTask.h not conditionally including HostChapter9.h only when USB_CAN_BE_HOST is defined (thanks to Ian Gregg) * - Fixed incorrect ADC driver init register manipulation (thanks to Tobias) * - Added new GenericHID device demo application + * - Fixed Still Image Host SImage_SendData() function not clearing the pipe bank after sending data * * * \section Sec_ChangeLog090209 Version 090209 diff --git a/LUFA/Version.h b/LUFA/Version.h index f36c40a92d87d06e049ae0793091058dc67798e4..f1e3b1ed9c9bd0456b0d8ce4a6dd959670897d90 100644 --- a/LUFA/Version.h +++ b/LUFA/Version.h @@ -41,9 +41,9 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** Indicates the version number of the library, as an integer. */ - #define LUFA_VERSION_INTEGER 000000 + #define LUFA_VERSION_INTEGER 090401 /** Indicates the version number of the library, as a string. */ - #define LUFA_VERSION_STRING "000000" + #define LUFA_VERSION_STRING "090401" #endif