rename CFG_TUSB_HOST_CDC/MSC to CFG_TUH_CDC/MSC

This commit is contained in:
hathach
2018-12-06 22:24:31 +07:00
parent 5b09774ae0
commit 7d3ff7aff6
23 changed files with 35 additions and 35 deletions
@@ -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
+2 -2
View File
@@ -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
+3 -3
View File
@@ -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 \