minor adjust TUSB_CFG_HOST_DEVICE_MAX and TUSB_CFG_HOST_HUB

This commit is contained in:
hathach 2014-04-18 14:50:44 +07:00
parent 4091ddc4fc
commit 8dff4d454b
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,6 @@
//--------------------------------------------------------------------+
// HOST CONFIGURATION
//--------------------------------------------------------------------+
#define TUSB_CFG_HOST_DEVICE_MAX 5 // TODO be a part of HUB config
//------------- CLASS -------------//
#define TUSB_CFG_HOST_HUB 1
@ -62,6 +61,8 @@
#define TUSB_CFG_HOST_MSC 1
#define TUSB_CFG_HOST_CDC 1
#define TUSB_CFG_HOST_DEVICE_MAX (TUSB_CFG_HOST_HUB ? 5 : 1) // normal hub has 4 ports
//--------------------------------------------------------------------+
// COMMON CONFIGURATION
//--------------------------------------------------------------------+