Fixed USB_USBTask not being called internally in stream transfers between packets...
authorDean Camera <dean@fourwalledcubicle.com>
Mon, 25 Jul 2011 01:11:24 +0000 (01:11 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Mon, 25 Jul 2011 01:11:24 +0000 (01:11 +0000)
Remove old unused function prototype in the LowLevel MassStorage device demo.

Demos/Device/LowLevel/MassStorage/MassStorage.h
LUFA/Drivers/USB/Core/AVR8/Template/Template_Endpoint_RW.c
LUFA/Drivers/USB/Core/UC3/Template/Template_Endpoint_RW.c
LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_RW.c
LUFA/ManPages/ChangeLog.txt

index c08e630..08f3388 100644 (file)
@@ -90,7 +90,5 @@
                        static void ReturnCommandStatus(void);
                #endif
 
-               uint8_t StreamCallback_AbortOnMassStoreReset(void);
-
 #endif
 
index 9ce0340..46b0063 100644 (file)
@@ -53,16 +53,16 @@ uint8_t TEMPLATE_FUNC_NAME (TEMPLATE_BUFFER_TYPE const Buffer,
                {
                        TEMPLATE_CLEAR_ENDPOINT();
 
+                       #if !defined(INTERRUPT_CONTROL_ENDPOINT)
+                       USB_USBTask();
+                       #endif
+
                        if (BytesProcessed != NULL)
                        {
                                *BytesProcessed += BytesInTransfer;
                                return ENDPOINT_RWSTREAM_IncompleteTransfer;
                        }
 
-                       #if !defined(INTERRUPT_CONTROL_ENDPOINT)
-                       USB_USBTask();
-                       #endif
-
                        if ((ErrorCode = Endpoint_WaitUntilReady()))
                          return ErrorCode;
                }
index 9ce0340..46b0063 100644 (file)
@@ -53,16 +53,16 @@ uint8_t TEMPLATE_FUNC_NAME (TEMPLATE_BUFFER_TYPE const Buffer,
                {
                        TEMPLATE_CLEAR_ENDPOINT();
 
+                       #if !defined(INTERRUPT_CONTROL_ENDPOINT)
+                       USB_USBTask();
+                       #endif
+
                        if (BytesProcessed != NULL)
                        {
                                *BytesProcessed += BytesInTransfer;
                                return ENDPOINT_RWSTREAM_IncompleteTransfer;
                        }
 
-                       #if !defined(INTERRUPT_CONTROL_ENDPOINT)
-                       USB_USBTask();
-                       #endif
-
                        if ((ErrorCode = Endpoint_WaitUntilReady()))
                          return ErrorCode;
                }
index 9ce0340..46b0063 100644 (file)
@@ -53,16 +53,16 @@ uint8_t TEMPLATE_FUNC_NAME (TEMPLATE_BUFFER_TYPE const Buffer,
                {
                        TEMPLATE_CLEAR_ENDPOINT();
 
+                       #if !defined(INTERRUPT_CONTROL_ENDPOINT)
+                       USB_USBTask();
+                       #endif
+
                        if (BytesProcessed != NULL)
                        {
                                *BytesProcessed += BytesInTransfer;
                                return ENDPOINT_RWSTREAM_IncompleteTransfer;
                        }
 
-                       #if !defined(INTERRUPT_CONTROL_ENDPOINT)
-                       USB_USBTask();
-                       #endif
-
                        if ((ErrorCode = Endpoint_WaitUntilReady()))
                          return ErrorCode;
                }
index e41d288..91aa6fe 100644 (file)
@@ -68,6 +68,7 @@
   *     option was not enabled on the AVR8s
   *   - Fixed lack of C++ compatibility in some internal header files causing compile errors when using LUFA in C++ projects
   *   - Fixed error in the pipe unordered allocation algorithm for the AVR8 devices breaking compatibility with some devices
+  *   - Fixed USB_USBTask not being called internally in stream transfers between packets when Partial Stream Transfers are used
   *  - Library Applications:
   *   - Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2
   *   - Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed