diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/tusb_option.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h index 057bc61c2..cda8c45ce 100644 --- a/src/tusb_option.h +++ b/src/tusb_option.h @@ -266,7 +266,12 @@ #endif #ifndef CFG_TUD_ECM_RNDIS - #define CFG_TUD_ECM_RNDIS 0 + #ifdef CFG_TUD_NET + #warning "CFG_TUD_NET is renamed to CFG_TUD_ECM_RNDIS" + #define CFG_TUD_ECM_RNDIS CFG_TUD_NET + #else + #define CFG_TUD_ECM_RNDIS 0 + #endif #endif #ifndef CFG_TUD_NCM |
