From 6354f4bb4dce3d2389ca0aeb11066b4e5af789fc Mon Sep 17 00:00:00 2001 From: hathach Date: Sun, 12 May 2013 20:06:55 +0700 Subject: tired of refractoring tests (wanting to do some production code) --- tests/test/support/ehci_controller_fake.h | 2 ++ tests/test/support/tusb_config.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/test/support') 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 -- cgit v1.3.1