mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-21 18:11:51 +08:00
[lwIP] code cleanup for Kconfig.
1. code cleanup for Kconfig. 2. fix the compiling warning for BYTE_ORDER.
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user