summaryrefslogtreecommitdiff
path: root/demos/host/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-12-19 13:55:22 +0700
committerhathach <[email protected]>2013-12-19 13:55:22 +0700
commitd020c2f609750fd82a31cb91f3e35f3dd87d2ef7 (patch)
treef1ea58956058a92b80b74d3b890352c10dd61e57 /demos/host/src
parentcfcef0558a5b8ab797408f998074fa0ba6703ece (diff)
remove immediately reset when device plug.
check to make sure device is still plug after initial delay (200ms) before reset remove blocking waiting when reset in ehci.c
Diffstat (limited to 'demos/host/src')
-rw-r--r--demos/host/src/tusb_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/host/src/tusb_config.h b/demos/host/src/tusb_config.h
index d5ba0b6d1..c43bb2898 100644
--- a/demos/host/src/tusb_config.h
+++ b/demos/host/src/tusb_config.h
@@ -60,14 +60,14 @@
//--------------------------------------------------------------------+
// HOST CONFIGURATION
//--------------------------------------------------------------------+
-#define TUSB_CFG_HOST_DEVICE_MAX 1
+#define TUSB_CFG_HOST_DEVICE_MAX 3 // TODO be a part of HUB config
#define TUSB_CFG_CONFIGURATION_MAX 1
//------------- USBD -------------//
#define TUSB_CFG_HOST_ENUM_BUFFER_SIZE 255
//------------- CLASS -------------//
-#define TUSB_CFG_HOST_HUB 0
+#define TUSB_CFG_HOST_HUB 1
#define TUSB_CFG_HOST_HID_KEYBOARD 0
#define TUSB_CFG_HOST_HID_MOUSE 1
#define TUSB_CFG_HOST_HID_GENERIC 0