summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-10-05 12:32:07 +0700
committerhathach <[email protected]>2021-10-05 16:00:07 +0700
commita867d87072e6f25e47f209e9615e00b97a9eb36f (patch)
tree953346cbb1aa11697cf5b5f183c41952fbeb1681 /src/device
parent31cfd5a68443db941dbce88cebaf8fdf2d16a6a0 (diff)
rename CFG_TUD_NET to CFG_TUD_ECM_RNDIS
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index a33d778db..ab1837895 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -203,7 +203,7 @@ static usbd_class_driver_t const _usbd_driver[] =
},
#endif
- #if CFG_TUD_NET
+ #if CFG_TUD_ECM_RNDIS || CFG_TUD_NCM
{
DRIVER_NAME("NET")
.init = netd_init,