mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 09:51:56 +08:00
Network: Misc fixes for clean complete with both Ethernet and SLIP enabled
This commit is contained in:
@@ -82,17 +82,12 @@
|
||||
* should be set to 0.
|
||||
*/
|
||||
|
||||
#undef CONFIG_NET_ETHERNET
|
||||
#undef CONFIG_NET_ARP
|
||||
|
||||
#ifdef CONFIG_NET_SLIP
|
||||
# ifdef CONFIG_NET_IPv6
|
||||
# error "SLIP is not implemented for IPv6"
|
||||
# error SLIP is not available for IPv6
|
||||
# endif
|
||||
# define NET_LL_HDRLEN 0
|
||||
#else
|
||||
# define CONFIG_NET_ETHERNET 1
|
||||
# define CONFIG_NET_ARP 1
|
||||
# define NET_LL_HDRLEN 14
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user