rename CFG_TUSB_HOST_CDC/MSC to CFG_TUH_CDC/MSC
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user