summaryrefslogtreecommitdiff
path: root/tests/test/support
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-03-03 12:37:44 +0700
committerhathach <[email protected]>2013-03-03 12:37:44 +0700
commit72b42054e582cbd402bc72498463dd7150d45ecc (patch)
tree88a7be07083b910ac8b854e9795f3c0108132c16 /tests/test/support
parent356c32992236dd4f090f2cda0f95bfe79704cc2d (diff)
refractor
Diffstat (limited to 'tests/test/support')
-rw-r--r--tests/test/support/tusb_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test/support/tusb_config.h b/tests/test/support/tusb_config.h
index 8b83c4367..d7be7931a 100644
--- a/tests/test/support/tusb_config.h
+++ b/tests/test/support/tusb_config.h
@@ -61,8 +61,8 @@
#define TUSB_CFG_HOST
//------------- CORE/CONTROLLER -------------//
-#define TUSB_CFG_HOST_CONTROLLER_NUM 2
#define TUSB_CFG_HOST_CONTROLLER_START_INDEX 0
+#define TUSB_CFG_HOST_CONTROLLER_NUM (2 - TUSB_CFG_HOST_CONTROLLER_START_INDEX)
#define TUSB_CFG_HOST_DEVICE_MAX 2
#define TUSB_CFG_CONFIGURATION_MAX 2