summaryrefslogtreecommitdiff
path: root/usb_appl
diff options
context:
space:
mode:
authorAndreas Auras <yak54@gmx.net>2010-03-08 11:25:40 +0100
committerAndreas Auras <yak54@gmx.net>2010-03-08 11:25:40 +0100
commitff1038360e1da69e2fce7381d4fa97aba0c692c7 (patch)
tree479f4be23ede420ab3e0ff8dd437c691e4aab61f /usb_appl
parentd7d6b54a080ff971fa3193ce0b630b12feac7e55 (diff)
downloaddf10ch-atmolight-controller-ff1038360e1da69e2fce7381d4fa97aba0c692c7.tar.gz
df10ch-atmolight-controller-ff1038360e1da69e2fce7381d4fa97aba0c692c7.tar.bz2
Changed USB suspend mode detection timeout from 5ms to 100ms
Diffstat (limited to 'usb_appl')
-rw-r--r--usb_appl/df10ch_usb_appl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb_appl/df10ch_usb_appl.c b/usb_appl/df10ch_usb_appl.c
index c6fa7b1..58c6bb9 100644
--- a/usb_appl/df10ch_usb_appl.c
+++ b/usb_appl/df10ch_usb_appl.c
@@ -119,7 +119,7 @@ static uint16_t bl_time;
// ---
// USB related.
//
-#define USB_SLEEP_TIMEOUT US2TICKS(5000UL)
+#define USB_SLEEP_TIMEOUT US2TICKS(100000UL)
#define USB_DISCONNECT_TIME US2TICKS(500000UL)
#define USB_INITIALIZE_TIMEOUT US2TICKS(1750000UL)
#define USB_STALL_RC 0xFF