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

View File

@@ -38,7 +38,7 @@
#include "tusb_option.h"
#if (MODE_HOST_SUPPORTED && CFG_TUSB_HOST_CDC)
#if (MODE_HOST_SUPPORTED && CFG_TUH_CDC)
#define _TINY_USB_SOURCE_FILE_

View File

@@ -38,7 +38,7 @@
#include "tusb_option.h"
#if (MODE_HOST_SUPPORTED && CFG_TUSB_HOST_CDC && CFG_TUSB_HOST_CDC_RNDIS)
#if (MODE_HOST_SUPPORTED && CFG_TUH_CDC && CFG_TUH_CDC_RNDIS)
#define _TINY_USB_SOURCE_FILE_

View File

@@ -38,7 +38,7 @@
#include "tusb_option.h"
#if MODE_HOST_SUPPORTED & CFG_TUSB_HOST_MSC
#if MODE_HOST_SUPPORTED & CFG_TUH_MSC
#define _TINY_USB_SOURCE_FILE_

View File

@@ -82,7 +82,7 @@ typedef struct
// Max number of endpoints per device
enum {
HCD_MAX_ENDPOINT = CFG_TUH_HUB + CFG_TUSB_HOST_HID_KEYBOARD + CFG_TUSB_HOST_HID_MOUSE + CFG_TUSB_HOST_HID_GENERIC +
CFG_TUSB_HOST_MSC*2 + CFG_TUSB_HOST_CDC*3,
CFG_TUH_MSC*2 + CFG_TUH_CDC*3,
HCD_MAX_XFER = HCD_MAX_ENDPOINT*2,
};

View File

@@ -59,11 +59,11 @@
#include "class/hid/hid_host.h"
#endif
#if CFG_TUSB_HOST_MSC
#if CFG_TUH_MSC
#include "class/msc/msc_host.h"
#endif
#if CFG_TUSB_HOST_CDC
#if CFG_TUH_CDC
#include "class/cdc/cdc_host.h"
#endif