From 1dd7e05336b43d6e47204ddfd45e8598e6ecd453 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Sun, 30 Jun 2013 22:50:33 +0800 Subject: fix lwip 1.4.1 compiling error when enable component init --- bsp/lpc176x/rtconfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsp') diff --git a/bsp/lpc176x/rtconfig.h b/bsp/lpc176x/rtconfig.h index 31b2b1afee..61b2f82711 100644 --- a/bsp/lpc176x/rtconfig.h +++ b/bsp/lpc176x/rtconfig.h @@ -142,7 +142,7 @@ // #define RT_LWIP_TCP_PCB_NUM 3 // -#define RT_LWIP_TCP_SND_BUF 2048 +#define RT_LWIP_TCP_SND_BUF (2 * TCP_MSS) // #define RT_LWIP_TCP_WND 2048 // -- cgit v1.3.1