From 0174d8ea70f3d7180e6ea3da2b3720273adb33d9 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sat, 4 Sep 2010 10:17:09 +0000 Subject: 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. --- LUFA/Drivers/USB/LowLevel/Host.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'LUFA/Drivers/USB/LowLevel/Host.h') 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: */ -- cgit v1.2.3