diff options
| author | hathach <[email protected]> | 2013-12-19 12:21:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-12-19 12:21:40 +0700 |
| commit | fce62524569e395709612a93bbe1c7cb4e72b6bd (patch) | |
| tree | ea1f17215184af78b21a4560814ae825964a2b93 | |
| parent | 2715650751c3c89742ccc7af3fbb3aa57682f2fe (diff) | |
hub works with ohci as well. There is some problem when plug & unplug device hmm
| -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 d5ba0b6d1..3527ddc3f 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
#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
|
