aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorDiego Ismirlian <dismirlian (at) google's mail.com>2017-07-31 18:43:44 -0300
committerDiego Ismirlian <dismirlian (at) google's mail.com>2017-07-31 18:43:44 -0300
commitc0cadbbe7baefe624f34bfe8739b50e38c03e1c2 (patch)
treeafc43e9f317435c23781c9a0951602468086bb7a /testhal
parent2fb4cf92737dae0fbcea90939e4af5b534eb35d6 (diff)
downloadChibiOS-Contrib-c0cadbbe7baefe624f34bfe8739b50e38c03e1c2.tar.gz
ChibiOS-Contrib-c0cadbbe7baefe624f34bfe8739b50e38c03e1c2.tar.bz2
ChibiOS-Contrib-c0cadbbe7baefe624f34bfe8739b50e38c03e1c2.zip
USBH: added default control request timeout parameter
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h b/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h
index a13aa89..9b22a79 100644
--- a/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h
+++ b/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h
@@ -89,6 +89,7 @@
#define HAL_USBH_PORT_DEBOUNCE_TIME 200
#define HAL_USBH_PORT_RESET_TIMEOUT 500
#define HAL_USBH_DEVICE_ADDRESS_STABILIZATION 20
+#define HAL_USBH_CONTROL_REQUEST_DEFAULT_TIMEOUT MS2ST(1000)
/* MSD */
#define HAL_USBH_USE_MSD TRUE