Browse Source

update: 调大udp的可用PCB数量

Wendal Chen 2 years ago
parent
commit
057da6db95
1 changed files with 1 additions and 0 deletions
  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