aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-03-03 08:19:32 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-03-03 08:19:32 +0000
commit5e787a4bb04f8a27f9300077361403adf2e92b3f (patch)
treeec68448c9c430a4bad04c3f20d62b5171eea1377
parentea7039a0cc56e67affb6c69ddc56e7e4e3188d08 (diff)
downloadlufa-5e787a4bb04f8a27f9300077361403adf2e92b3f.tar.gz
lufa-5e787a4bb04f8a27f9300077361403adf2e92b3f.tar.bz2
lufa-5e787a4bb04f8a27f9300077361403adf2e92b3f.zip
Updated changelog to reflect recent commit changes.
-rw-r--r--LUFA/ChangeLog.txt3
-rw-r--r--LUFA/Drivers/USB/LowLevel/Endpoint.c2
-rw-r--r--LUFA/Drivers/USB/LowLevel/Pipe.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/LUFA/ChangeLog.txt b/LUFA/ChangeLog.txt
index af15a964d..b89c6e8b9 100644
--- a/LUFA/ChangeLog.txt
+++ b/LUFA/ChangeLog.txt
@@ -23,6 +23,9 @@
* next time the device is attached to a host.
* - 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
* clock prescaling is performed) frequency, so that the PLL prescale mask can be determined
+ * - Changed stream wait timeout counter to be 16-bit, so that very long timeout periods can be set for correct communications with
+ * badly designed hosts or devices which greatly exceed the USB specification limits
+ * - Mass Storage Host demo now uses a USB_STREAM_TIMEOUT_MS of two seconds to maintain compatibility with poorly designed devices
*
* \section Sec_ChangeLog090209 Version 090209
*
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.c b/LUFA/Drivers/USB/LowLevel/Endpoint.c
index 273e1908a..3376098ed 100644
--- a/LUFA/Drivers/USB/LowLevel/Endpoint.c
+++ b/LUFA/Drivers/USB/LowLevel/Endpoint.c
@@ -83,7 +83,7 @@ void Endpoint_ClearEndpoints(void)
uint8_t Endpoint_WaitUntilReady(void)
{
- uint8_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS;
+ uint16_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS;
USB_INT_Clear(USB_INT_SOFI);
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.c b/LUFA/Drivers/USB/LowLevel/Pipe.c
index 743bb91f2..496df33de 100644
--- a/LUFA/Drivers/USB/LowLevel/Pipe.c
+++ b/LUFA/Drivers/USB/LowLevel/Pipe.c
@@ -68,7 +68,7 @@ void Pipe_ClearPipes(void)
uint8_t Pipe_WaitUntilReady(void)
{
- uint8_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS;
+ uint16_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS;
USB_INT_Clear(USB_INT_HSOFI);