diff options
| author | Bernard Xiong <[email protected]> | 2013-06-30 22:50:33 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2013-06-30 22:50:33 +0800 |
| commit | 1dd7e05336b43d6e47204ddfd45e8598e6ecd453 (patch) | |
| tree | 2ec39b5e214335631945bf71751e8acafbb570a6 /bsp/lpc176x/rtconfig.h | |
| parent | 1172b47d1e8fef2c894a65117956e9a5c0a5d0e5 (diff) | |
fix lwip 1.4.1 compiling error when enable component init
Diffstat (limited to 'bsp/lpc176x/rtconfig.h')
| -rw-r--r-- | bsp/lpc176x/rtconfig.h | 2 |
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" /> |
