diff options
| author | hathach <[email protected]> | 2014-02-28 17:08:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-02-28 17:08:47 +0700 |
| commit | da6b2fbef85118ec8a076f297492683dbbbe5684 (patch) | |
| tree | 11806d0a904f087ea7af5e69f8fcdc6a8faaa612 /demos/host/src | |
| parent | e979f22f93e8bc2c10e06ad10770e9d004846ffa (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.h | 4 |
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
|
