summaryrefslogtreecommitdiff
path: root/src/class/net
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-02-26 01:00:07 +0700
committerGitHub <[email protected]>2022-02-26 01:00:07 +0700
commit5b7a01ba79f7a048ddea3b5dedf187746cd21225 (patch)
treef2ae941108ea7c3c610c92de4fe95431be149176 /src/class/net
parent13a4582ce25cd47e346f317c9eb412af7a2c17a2 (diff)
parent1482a415240171b7ff2bd2ee0f123635dd15f9a4 (diff)
Merge pull request #1350 from hathach/enhance-multipl-ports
Enhance rhports management
Diffstat (limited to 'src/class/net')
-rw-r--r--src/class/net/ecm_rndis_device.c2
-rw-r--r--src/class/net/ncm_device.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/class/net/ecm_rndis_device.c b/src/class/net/ecm_rndis_device.c
index c6cd388e3..f6b318058 100644
--- a/src/class/net/ecm_rndis_device.c
+++ b/src/class/net/ecm_rndis_device.c
@@ -27,7 +27,7 @@
#include "tusb_option.h"
-#if ( TUSB_OPT_DEVICE_ENABLED && CFG_TUD_ECM_RNDIS )
+#if ( CFG_TUD_ENABLED && CFG_TUD_ECM_RNDIS )
#include "device/usbd.h"
#include "device/usbd_pvt.h"
diff --git a/src/class/net/ncm_device.c b/src/class/net/ncm_device.c
index 3e131a85c..1987337f8 100644
--- a/src/class/net/ncm_device.c
+++ b/src/class/net/ncm_device.c
@@ -28,7 +28,7 @@
#include "tusb_option.h"
-#if ( TUSB_OPT_DEVICE_ENABLED && CFG_TUD_NCM )
+#if ( CFG_TUD_ENABLED && CFG_TUD_NCM )
#include "device/usbd.h"
#include "device/usbd_pvt.h"