aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-09-04 10:17:09 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-09-04 10:17:09 +0000
commit0174d8ea70f3d7180e6ea3da2b3720273adb33d9 (patch)
tree428ec10fe10562408591642978539319fe3b1691
parent21954179a481295bd9bc3332a7f381fde7d5b2e3 (diff)
downloadlufa-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.
-rw-r--r--LUFA/Drivers/USB/LowLevel/Host.h7
-rw-r--r--LUFA/ManPages/ChangeLog.txt1
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