From 2281750b5fdf046ed606e567eb60cf4e647015dd Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 8 Dec 2009 07:43:33 +0000 Subject: 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. --- Demos/Host/ClassDriver/MassStorageHost/makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Demos/Host/ClassDriver') 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.) -- cgit v1.2.3