nshlib: fix building when CONFIG_NET_USRSOCK enabled with other link-layer
This commit is contained in:
parent
da2d782931
commit
3e2743e826
@ -120,6 +120,8 @@
|
||||
#elif defined(CONFIG_NET_LOCAL)
|
||||
# define NET_DEVNAME "lo"
|
||||
# define NSH_HAVE_NETDEV
|
||||
#elif defined(CONFIG_NET_USRSOCK)
|
||||
# undef NSH_HAVE_NETDEV
|
||||
#elif !defined(CONFIG_NET_LOOPBACK)
|
||||
# error ERROR: No link layer protocol defined
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user