mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-22 06:40:58 +00:00
add backward compatible with warnings for CFG_TUD_NET
This commit is contained in:
parent
431650fb7d
commit
a8eea9f6a5
@ -266,7 +266,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CFG_TUD_ECM_RNDIS
|
#ifndef CFG_TUD_ECM_RNDIS
|
||||||
|
#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
|
#define CFG_TUD_ECM_RNDIS 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CFG_TUD_NCM
|
#ifndef CFG_TUD_NCM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user