mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
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:
@@ -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.)
|
||||
|
||||
@@ -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.)
|
||||
|
||||
Reference in New Issue
Block a user