浏览代码

[net/lwip] Fix ppp retry assert error when tcp is connect.

朱天龙 (Armink) 2 年之前
父节点
当前提交
4c92886ee5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/net/lwip/port/lwipopts.h

+ 1 - 1
components/net/lwip/port/lwipopts.h

@@ -585,7 +585,7 @@
 #endif
 
 /* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active timeouts. */
-#define MEMP_NUM_SYS_TIMEOUT       (LWIP_TCP + IP_REASSEMBLY + LWIP_ARP + (2*LWIP_DHCP) + LWIP_AUTOIP + LWIP_IGMP + LWIP_DNS + PPP_SUPPORT)
+#define MEMP_NUM_SYS_TIMEOUT       (LWIP_TCP + IP_REASSEMBLY + LWIP_ARP + (2*LWIP_DHCP) + LWIP_AUTOIP + LWIP_IGMP + LWIP_DNS + 2*PPP_SUPPORT)
 
 /*
  * LWIP_COMPAT_SOCKETS==1: Enable BSD-style sockets functions names.