diff options
| author | hathach <[email protected]> | 2013-05-12 20:06:55 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-05-12 20:06:55 +0700 |
| commit | 6354f4bb4dce3d2389ca0aeb11066b4e5af789fc (patch) | |
| tree | 22347216b3746aa2cc9dc609dd2cf2ca7dcea484 /tests/test/support | |
| parent | cc496074347543d19bbcc691dd46d05db2817b51 (diff) | |
tired of refractoring tests (wanting to do some production code)
Diffstat (limited to 'tests/test/support')
| -rw-r--r-- | tests/test/support/ehci_controller_fake.h | 2 | ||||
| -rw-r--r-- | tests/test/support/tusb_config.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/test/support/ehci_controller_fake.h b/tests/test/support/ehci_controller_fake.h index 7c8b0c27d..d5b82c6ee 100644 --- a/tests/test/support/ehci_controller_fake.h +++ b/tests/test/support/ehci_controller_fake.h @@ -52,6 +52,8 @@ #ifndef _TUSB_EHCI_CONTROLLER_H_ #define _TUSB_EHCI_CONTROLLER_H_ +#include "host/hcd.h" + #ifdef __cplusplus extern "C" { #endif diff --git a/tests/test/support/tusb_config.h b/tests/test/support/tusb_config.h index d91033c5d..fe881551d 100644 --- a/tests/test/support/tusb_config.h +++ b/tests/test/support/tusb_config.h @@ -80,7 +80,8 @@ //#define HOST_HCD_XFER_ISOCHRONOUS // Test support -#define TEST_CONTROLLER_HOST_START_INDEX ( ((CONTROLLER_HOST_NUMBER == 1) && (TUSB_CFG_CONTROLLER1_MODE & TUSB_MODE_HOST)) ? 1 : 0) +#define TEST_CONTROLLER_HOST_START_INDEX \ + ( ((CONTROLLER_HOST_NUMBER == 1) && (TUSB_CFG_CONTROLLER1_MODE & TUSB_MODE_HOST)) ? 1 : 0) //--------------------------------------------------------------------+ // DEVICE CONFIGURATION |
