提交 bf733ae2 编写于 作者: B Bernard Xiong

[LwIP] Fix the MEMP_NUM_TCP_SEG issue.

上级 bab17630
...@@ -117,6 +117,8 @@ ...@@ -117,6 +117,8 @@
/* the number of simultaneously queued TCP */ /* the number of simultaneously queued TCP */
#ifdef RT_LWIP_TCP_SEG_NUM #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 #define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN
#endif #endif
...@@ -176,7 +178,7 @@ ...@@ -176,7 +178,7 @@
/* TCP sender buffer space (bytes). */ /* TCP sender buffer space (bytes). */
#ifdef RT_LWIP_TCP_SND_BUF #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 #else
#define TCP_SND_BUF (TCP_MSS * 2) #define TCP_SND_BUF (TCP_MSS * 2)
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册