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.
This commit is contained in:
parent
3757b1760f
commit
2281750b5f
5 changed files with 11 additions and 6 deletions
|
@ -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.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue