summaryrefslogtreecommitdiff
path: root/src/class/cdc
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-07 23:38:52 +0700
committerhathach <[email protected]>2018-12-07 23:38:52 +0700
commit607658d047a3c27a096b9f6a25ea0a76f3d8735d (patch)
tree3dba851636e65962ca00b092a9fd87f05db71589 /src/class/cdc
parente0199162637465b576b9f082404cf163c7cb1fef (diff)
rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED
Diffstat (limited to 'src/class/cdc')
-rw-r--r--src/class/cdc/cdc_host.c2
-rw-r--r--src/class/cdc/cdc_rndis_host.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/class/cdc/cdc_host.c b/src/class/cdc/cdc_host.c
index c4ec88416..8d7c2bd40 100644
--- a/src/class/cdc/cdc_host.c
+++ b/src/class/cdc/cdc_host.c
@@ -38,7 +38,7 @@
#include "tusb_option.h"
-#if (MODE_HOST_SUPPORTED && CFG_TUH_CDC)
+#if (TUSB_OPT_HOST_ENABLED && CFG_TUH_CDC)
#define _TINY_USB_SOURCE_FILE_
diff --git a/src/class/cdc/cdc_rndis_host.c b/src/class/cdc/cdc_rndis_host.c
index df4a29938..ae61bf8b5 100644
--- a/src/class/cdc/cdc_rndis_host.c
+++ b/src/class/cdc/cdc_rndis_host.c
@@ -38,7 +38,7 @@
#include "tusb_option.h"
-#if (MODE_HOST_SUPPORTED && CFG_TUH_CDC && CFG_TUH_CDC_RNDIS)
+#if (TUSB_OPT_HOST_ENABLED && CFG_TUH_CDC && CFG_TUH_CDC_RNDIS)
#define _TINY_USB_SOURCE_FILE_