From fce62524569e395709612a93bbe1c7cb4e72b6bd Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 19 Dec 2013 12:21:40 +0700 Subject: [PATCH] hub works with ohci as well. There is some problem when plug & unplug device hmm --- demos/host/src/tusb_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/host/src/tusb_config.h b/demos/host/src/tusb_config.h index d5ba0b6d..3527ddc3 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