浏览代码

update: 调大udp的可用PCB数量

Wendal Chen 2 年之前
父节点
当前提交
057da6db95
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/network/lwip2.1.3/include/lwipopts.h

+ 1 - 0
src/network/lwip2.1.3/include/lwipopts.h

@@ -31,6 +31,7 @@
 
 #define MEM_SIZE                        (8 * 1024)
 #define MEMP_NUM_SYS_TIMEOUT            (16)
+#define MEMP_NUM_UDP_PCB 8
 
 /**
  * TCP_WND: The size of a TCP window.  This must be at least