Reduced HOST_DEVICE_SETTLE_DELAY_MS to 1000ms down from 1500ms to improve device compatibility while in USB Host mode, as some devices will drop off the USB bus if no connection is made within a timeout period.

pull/1469/head
Dean Camera 14 years ago
parent 21954179a4
commit 0174d8ea70

@ -95,10 +95,11 @@
* after connection before the enumeration process can start or incorrect operation will
* occur.
*
* This value may be overridden in the user project makefile as the value of the
* HOST_DEVICE_SETTLE_DELAY_MS token, and passed to the compiler using the -D switch.
* The default delay value may be overridden in the user project makefile by definining the
* HOST_DEVICE_SETTLE_DELAY_MS token to tbe required delay in milliseconds, and passed to the
* compiler using the -D switch.
*/
#define HOST_DEVICE_SETTLE_DELAY_MS 1500
#define HOST_DEVICE_SETTLE_DELAY_MS 1000
#endif
/* Enums: */

@ -28,6 +28,7 @@
* not break communications with the host by exceeding the maximum control request stage timeout period
* - Changed the signature of the CALLBACK_USB_GetDescriptor() callback function so that the descriptor pointer is const, to remove
* the need for extra casting inside the callback (thanks to Jonathan Kollasch)
* - Reduced HOST_DEVICE_SETTLE_DELAY_MS to 1000ms down from 1500ms to improve device compatibility while in USB Host mode
*
* <b>Fixed:</b>
* - Fixed USB_GetHIDReportItemInfo() function modifying the given report item's data when the report item does not exist

Loading…
Cancel
Save