* 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
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
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