diff options
| author | hathach <[email protected]> | 2018-12-06 22:24:31 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-06 22:24:31 +0700 |
| commit | 7d3ff7aff6aed13377a4cd12f1d8f2ad91720f80 (patch) | |
| tree | d560ab62d9c685affeaf4c286e2b495d6c6073da /tests | |
| parent | 5b09774ae05d15cb18ff9920864535b8444a1c3c (diff) | |
rename CFG_TUSB_HOST_CDC/MSC to CFG_TUH_CDC/MSC
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c | 2 | ||||
| -rw-r--r-- | tests/lpc18xx_43xx/test/host/host_helper.h | 4 | ||||
| -rw-r--r-- | tests/support/tusb_config.h | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c b/tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c index 12dce0528..fe7d05516 100644 --- a/tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c +++ b/tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c @@ -51,7 +51,7 @@ #include "descriptor_cdc.h" #include "cdc_host.h" -#if CFG_TUSB_HOST_CDC_RNDIS // TODO enable +#if CFG_TUH_CDC_RNDIS // TODO enable #include "cdc_rndis_host.h" #endif diff --git a/tests/lpc18xx_43xx/test/host/host_helper.h b/tests/lpc18xx_43xx/test/host/host_helper.h index c293ec748..b8095b9aa 100644 --- a/tests/lpc18xx_43xx/test/host/host_helper.h +++ b/tests/lpc18xx_43xx/test/host/host_helper.h @@ -42,7 +42,7 @@ static inline void helper_class_init_expect(void) { // class code number order -#if CFG_TUSB_HOST_CDC +#if CFG_TUH_CDC cdch_init_Expect(); #endif @@ -50,7 +50,7 @@ static inline void helper_class_init_expect(void) hidh_init_Expect(); #endif -#if CFG_TUSB_HOST_MSC +#if CFG_TUH_MSC msch_init_Expect(); #endif diff --git a/tests/support/tusb_config.h b/tests/support/tusb_config.h index 3e5721019..3aacdabdc 100644 --- a/tests/support/tusb_config.h +++ b/tests/support/tusb_config.h @@ -58,10 +58,10 @@ #define CFG_TUH_HUB 0
#define CFG_TUSB_HOST_HID_KEYBOARD 1
#define CFG_TUSB_HOST_HID_MOUSE 1
-#define CFG_TUSB_HOST_MSC 1
+#define CFG_TUH_MSC 1
#define CFG_TUSB_HOST_HID_GENERIC 0
-#define CFG_TUSB_HOST_CDC 1
-#define CFG_TUSB_HOST_CDC_RNDIS 0
+#define CFG_TUH_CDC 1
+#define CFG_TUH_CDC_RNDIS 0
// Test support
#define TEST_CONTROLLER_HOST_START_INDEX \
|
