aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-08 07:43:33 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-08 07:43:33 +0000
commit2281750b5fdf046ed606e567eb60cf4e647015dd (patch)
tree74b5011a55f12a768f4232fdc771937d8e124e02 /Demos/Host/ClassDriver
parent3757b1760fdd197a8c7227bbfd0b11ee33eb99e6 (diff)
downloadlufa-2281750b5fdf046ed606e567eb60cf4e647015dd.tar.gz
lufa-2281750b5fdf046ed606e567eb60cf4e647015dd.tar.bz2
lufa-2281750b5fdf046ed606e567eb60cf4e647015dd.zip
Make sure that USB_STREAM_TIMEOUT_MS is set in the MassStorageHost ClassDriver demo, so that slow devices don't time out the data pipe. Increase pipe timeout in both MassStorageHost demos to 5 seconds to account for the really slow devices.
Fix TeensyHID bootloader not properly shutting down the USB interface to trigger a disconnection on the host before resetting the AVR.
Diffstat (limited to 'Demos/Host/ClassDriver')
-rw-r--r--Demos/Host/ClassDriver/MassStorageHost/makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Host/ClassDriver/MassStorageHost/makefile b/Demos/Host/ClassDriver/MassStorageHost/makefile
index 24d9ee0b0..88d5cf27d 100644
--- a/Demos/Host/ClassDriver/MassStorageHost/makefile
+++ b/Demos/Host/ClassDriver/MassStorageHost/makefile
@@ -118,6 +118,7 @@ LUFA_PATH = ../../../..
# LUFA library compile-time options
LUFA_OPTS = -D USB_HOST_ONLY
LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
+LUFA_OPTS += -D USB_STREAM_TIMEOUT_MS=5000
# List C source files here. (C dependencies are automatically generated.)