summaryrefslogtreecommitdiff
path: root/demos/host/src/tusb_config.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-09-30 15:16:23 +0700
committerhathach <[email protected]>2013-09-30 15:16:23 +0700
commit3cc169f2fd3159ecad494eb6223bbed6cc8135d6 (patch)
tree8a29e735e2f450857f6180c442695cad78b3fd7c /demos/host/src/tusb_config.h
parentcb600ed9887224b6e0b4904f66442eef2900fd2d (diff)
able to mount one device on the hub
Diffstat (limited to 'demos/host/src/tusb_config.h')
-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 711802fab..3b69dffad 100644
--- a/demos/host/src/tusb_config.h
+++ b/demos/host/src/tusb_config.h
@@ -65,14 +65,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 1
#define TUSB_CFG_HOST_HID_MOUSE 1
#define TUSB_CFG_HOST_HID_GENERIC 0