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/LowLevel/MassStorageHost/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Demos/Host/LowLevel') diff --git a/Demos/Host/LowLevel/MassStorageHost/makefile b/Demos/Host/LowLevel/MassStorageHost/makefile index 43309a3d4..756763249 100644 --- a/Demos/Host/LowLevel/MassStorageHost/makefile +++ b/Demos/Host/LowLevel/MassStorageHost/makefile @@ -119,7 +119,7 @@ LUFA_PATH = ../../../.. LUFA_OPTS = -D NO_STREAM_CALLBACKS 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=2000 +LUFA_OPTS += -D USB_STREAM_TIMEOUT_MS=5000 # List C source files here. (C dependencies are automatically generated.) -- cgit v1.2.3