summaryrefslogtreecommitdiff
path: root/demos/host/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-02-28 17:08:47 +0700
committerhathach <[email protected]>2014-02-28 17:08:47 +0700
commitda6b2fbef85118ec8a076f297492683dbbbe5684 (patch)
tree11806d0a904f087ea7af5e69f8fcdc6a8faaa612 /demos/host/src
parente979f22f93e8bc2c10e06ad10770e9d004846ffa (diff)
EHCI: immediately reset port when device connected. This proves to help prevent duplication connection event (also with OHCI)
increase delay after reset to 100 ms (NXP's EHCI does not work with 50ms) --> fix all duplication connection with OHCI & EHCI
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 470043259..ddd56189b 100644
--- a/demos/host/src/tusb_config.h
+++ b/demos/host/src/tusb_config.h
@@ -64,11 +64,11 @@
#define TUSB_CFG_HOST_ENUM_BUFFER_SIZE 255
//------------- CLASS -------------//
-#define TUSB_CFG_HOST_HUB 1
+#define TUSB_CFG_HOST_HUB 0
#define TUSB_CFG_HOST_HID_KEYBOARD 0
#define TUSB_CFG_HOST_HID_MOUSE 1
#define TUSB_CFG_HOST_HID_GENERIC 0
-#define TUSB_CFG_HOST_MSC 0
+#define TUSB_CFG_HOST_MSC 1
#define TUSB_CFG_HOST_CDC 0
#define TUSB_CFG_HOST_CDC_RNDIS 0