提交 d219f5bf 编写于 作者: B BernardXiong

[lwIP] code cleanup for Kconfig.

1. code cleanup for Kconfig.
2. fix the compiling warning for BYTE_ORDER.
上级 341f78fe
......@@ -3,7 +3,7 @@ menu "Network stack"
menu "light weight TCP/IP stack"
config RT_USING_LWIP
bool "Enable lwIP stack"
select RT_USING_DEVICE
select RT_USING_DEVICE
default n
if RT_USING_LWIP
......
......@@ -36,7 +36,10 @@
#define LWIP_HAVE_LOOPIF 0
#define LWIP_PLATFORM_BYTESWAP 0
#ifndef BYTE_ORDER
#define BYTE_ORDER LITTLE_ENDIAN
#endif
/* #define RT_LWIP_DEBUG */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册