summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2013-06-30 22:50:33 +0800
committerBernard Xiong <[email protected]>2013-06-30 22:50:33 +0800
commit1dd7e05336b43d6e47204ddfd45e8598e6ecd453 (patch)
tree2ec39b5e214335631945bf71751e8acafbb570a6 /bsp
parent1172b47d1e8fef2c894a65117956e9a5c0a5d0e5 (diff)
fix lwip 1.4.1 compiling error when enable component init
Diffstat (limited to 'bsp')
-rw-r--r--bsp/lpc176x/rtconfig.h2
1 files changed, 1 insertions, 1 deletions
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 @@
// <integer name="RT_LWIP_TCP_PCB_NUM" description="Maximal number of simultaneously active TCP connections" default="5" />
#define RT_LWIP_TCP_PCB_NUM 3
// <integer name="RT_LWIP_TCP_SND_BUF" description="TCP sender buffer size" default="8192" />
-#define RT_LWIP_TCP_SND_BUF 2048
+#define RT_LWIP_TCP_SND_BUF (2 * TCP_MSS)
// <integer name="RT_LWIP_TCP_WND" description="TCP receive window" default="8192" />
#define RT_LWIP_TCP_WND 2048
// <bool name="RT_LWIP_SNMP" description="Enable SNMP protocol" default="false" />