diff options
| author | hathach <[email protected]> | 2013-10-16 11:05:33 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-10-16 11:05:33 +0700 |
| commit | de7e21dc662acc316e21aba865f52d446c231ae4 (patch) | |
| tree | 271b3dc49cce5af95deb9714510ee49b9c5f0669 /tests/support | |
| parent | 3d13516106f4408f39dbccfd73ec0913c597ea21 (diff) | |
refractor hub api
fix all test build errors
Diffstat (limited to 'tests/support')
| -rw-r--r-- | tests/support/ehci_controller_fake.c | 2 | ||||
| -rw-r--r-- | tests/support/tusb_config.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/support/ehci_controller_fake.c b/tests/support/ehci_controller_fake.c index ff5bb084b..044ea84f3 100644 --- a/tests/support/ehci_controller_fake.c +++ b/tests/support/ehci_controller_fake.c @@ -45,6 +45,8 @@ #include "usbh_hcd.h" #include "ehci.h" +#include "ehci_controller_fake.h" + //--------------------------------------------------------------------+ // MACRO CONSTANT TYPEDEF diff --git a/tests/support/tusb_config.h b/tests/support/tusb_config.h index 320b32222..b9a802f6b 100644 --- a/tests/support/tusb_config.h +++ b/tests/support/tusb_config.h @@ -67,11 +67,12 @@ //--------------------------------------------------------------------+ //------------- CORE -------------// #define TUSB_CFG_HOST_DEVICE_MAX 2 -#define TUSB_CFG_CONFIGURATION_MAX 2 +#define TUSB_CFG_CONFIGURATION_MAX 1 #define TUSB_CFG_HOST_ENUM_BUFFER_SIZE 255 //------------- CLASS -------------// +#define TUSB_CFG_HOST_HUB 1 #define TUSB_CFG_HOST_HID_KEYBOARD 1 #define TUSB_CFG_HOST_HID_MOUSE 1 #define TUSB_CFG_HOST_MSC 1 |
