rename CFG_TUD_NET to CFG_TUD_ECM_RNDIS

This commit is contained in:
hathach
2021-10-05 12:32:07 +07:00
parent 31cfd5a684
commit a867d87072
12 changed files with 63 additions and 49 deletions

View File

@@ -95,13 +95,11 @@
#endif
//------------- CLASS -------------//
#define CFG_TUD_CDC 0
#define CFG_TUD_MSC 0
#define CFG_TUD_HID 0
#define CFG_TUD_MIDI 0
#define CFG_TUD_VENDOR 0
#define CFG_TUD_NET 1
#define CFG_TUD_NCM 0
// Network class has 2 drivers: ECM/RNDIS and NCM.
// Only one of the drivers can be enabled
#define CFG_TUD_ECM_RNDIS 1
#define CFG_TUD_NCM (1-CFG_TUD_ECM_RNDIS)
#ifdef __cplusplus
}