Updated changelog to reflect recent commit changes.
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 3 Mar 2009 08:19:32 +0000 (08:19 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 3 Mar 2009 08:19:32 +0000 (08:19 +0000)
LUFA/ChangeLog.txt
LUFA/Drivers/USB/LowLevel/Endpoint.c
LUFA/Drivers/USB/LowLevel/Pipe.c

index af15a96..b89c6e8 100644 (file)
@@ -23,6 +23,9 @@
   *    next time the device is attached to a host.\r
   *  - Added new F_CLOCK compile time constant to the library and makefiles, to give the raw input clock (used to feed the PLL before any\r
   *    clock prescaling is performed) frequency, so that the PLL prescale mask can be determined\r
   *    next time the device is attached to a host.\r
   *  - Added new F_CLOCK compile time constant to the library and makefiles, to give the raw input clock (used to feed the PLL before any\r
   *    clock prescaling is performed) frequency, so that the PLL prescale mask can be determined\r
+  *  - Changed stream wait timeout counter to be 16-bit, so that very long timeout periods can be set for correct communications with\r
+  *    badly designed hosts or devices which greatly exceed the USB specification limits\r
+  *  - Mass Storage Host demo now uses a USB_STREAM_TIMEOUT_MS of two seconds to maintain compatibility with poorly designed devices\r
   *\r
   *  \section Sec_ChangeLog090209 Version 090209\r
   *\r
   *\r
   *  \section Sec_ChangeLog090209 Version 090209\r
   *\r
index 273e190..3376098 100644 (file)
@@ -83,7 +83,7 @@ void Endpoint_ClearEndpoints(void)
 \r
 uint8_t Endpoint_WaitUntilReady(void)\r
 {\r
 \r
 uint8_t Endpoint_WaitUntilReady(void)\r
 {\r
-       uint8_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS;\r
+       uint16_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS;\r
 \r
        USB_INT_Clear(USB_INT_SOFI);\r
 \r
 \r
        USB_INT_Clear(USB_INT_SOFI);\r
 \r
index 743bb91..496df33 100644 (file)
@@ -68,7 +68,7 @@ void Pipe_ClearPipes(void)
 \r
 uint8_t Pipe_WaitUntilReady(void)\r
 {\r
 \r
 uint8_t Pipe_WaitUntilReady(void)\r
 {\r
-       uint8_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS;\r
+       uint16_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS;\r
 \r
        USB_INT_Clear(USB_INT_HSOFI);\r
 \r
 \r
        USB_INT_Clear(USB_INT_HSOFI);\r
 \r