Fixed incorrect defined in Version.h.
authorDean Camera <dean@fourwalledcubicle.com>
Wed, 1 Apr 2009 05:38:43 +0000 (05:38 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Wed, 1 Apr 2009 05:38:43 +0000 (05:38 +0000)
Fixed Still Image Host SImage_SendData() function not clearing the pipe bank after sending data.

Demos/Host/StillImageHost/StillImageCommands.c
LUFA/ChangeLog.txt
LUFA/Version.h

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
index de0e5ab..72bcfee 100644 (file)
@@ -45,6 +45,7 @@
   *  - Fixed USBTask.h not conditionally including HostChapter9.h only when USB_CAN_BE_HOST is defined (thanks to Ian Gregg)\r
   *  - Fixed incorrect ADC driver init register manipulation (thanks to Tobias)\r
   *  - Added new GenericHID device demo application\r
+  *  - Fixed Still Image Host SImage_SendData() function not clearing the pipe bank after sending data\r
   *\r
   *\r
   *  \section Sec_ChangeLog090209 Version 090209\r
index f36c40a..f1e3b1e 100644 (file)
@@ -41,9 +41,9 @@
        /* Public Interface - May be used in end-application: */\r
                /* Macros: */\r
                        /** Indicates the version number of the library, as an integer. */\r
-                       #define LUFA_VERSION_INTEGER     000000\r
+                       #define LUFA_VERSION_INTEGER     090401\r
 \r
                        /** Indicates the version number of the library, as a string. */\r
-                       #define LUFA_VERSION_STRING      "000000"\r
+                       #define LUFA_VERSION_STRING      "090401"\r
 \r
 #endif\r