[LwIP] Fix the MEMP_NUM_TCP_SEG issue.

This commit is contained in:
Bernard Xiong 2014-06-24 14:49:33 +08:00
parent bab1763003
commit bf733ae2aa
1 changed files with 3 additions and 1 deletions

View File

@ -117,6 +117,8 @@
/* the number of simultaneously queued TCP */
#ifdef RT_LWIP_TCP_SEG_NUM
#define MEMP_NUM_TCP_SEG RT_LWIP_TCP_SEG_NUM
#else
#define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN
#endif
@ -176,7 +178,7 @@
/* TCP sender buffer space (bytes). */
#ifdef RT_LWIP_TCP_SND_BUF
#define TCP_SND_BUF RT_LWIP_TCP_SND_BUF
#define TCP_SND_BUF RT_LWIP_TCP_SND_BUF
#else
#define TCP_SND_BUF (TCP_MSS * 2)
#endif