diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-09-04 10:17:09 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-09-04 10:17:09 +0000 |
commit | 0174d8ea70f3d7180e6ea3da2b3720273adb33d9 (patch) | |
tree | 428ec10fe10562408591642978539319fe3b1691 /LUFA | |
parent | 21954179a481295bd9bc3332a7f381fde7d5b2e3 (diff) | |
download | lufa-0174d8ea70f3d7180e6ea3da2b3720273adb33d9.tar.gz lufa-0174d8ea70f3d7180e6ea3da2b3720273adb33d9.tar.bz2 lufa-0174d8ea70f3d7180e6ea3da2b3720273adb33d9.zip |
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.
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Host.h | 7 | ||||
-rw-r--r-- | LUFA/ManPages/ChangeLog.txt | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Host.h b/LUFA/Drivers/USB/LowLevel/Host.h index aae1fa2f0..8623c4ec6 100644 --- a/LUFA/Drivers/USB/LowLevel/Host.h +++ b/LUFA/Drivers/USB/LowLevel/Host.h @@ -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: */ diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index a23ad81d9..0467e2815 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -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 |