File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
libraries/lwIpWrapper/src Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11#pragma once
22
3- // #define LWIP_USE_TIMER
43#define UNUSED (x ) (void )(x)
54
65#define USE_LWIP_AS_LIBRARY
@@ -80,7 +79,7 @@ typedef enum {
8079 NI_ETHERNET
8180} NetIfType_t;
8281
83- #define MAX_CLIENT 32
82+ #define MAX_CLIENT MEMP_NUM_TCP_PCB
8483#define MAX_DHCP_TRIES 4
8584#define TIMEOUT_DNS_REQUEST 10000U
8685
@@ -97,7 +96,6 @@ typedef enum {
9796#define INVALID_RESPONSE -4
9897
9998class CLwipIf ;
100- class lwipClient ;
10199
102100/* Base class implements DHCP, derived class will switch it on or off */
103101class CNetIf : public NetworkInterface {
@@ -331,7 +329,7 @@ class CLwipIf {
331329 // functions that handle DNS resolution
332330 // DNS servers are also set by dhcp
333331#if LWIP_DNS
334- // add a dns server, priority set to 0 means it is the first being queryed , -1 means the last
332+ // add a dns server, priority set to 0 means it is the first being queried , -1 means the last
335333 uint8_t addDnsServer (const IPAddress& aDNSServer, int8_t priority=-1 );
336334 void clearDnsServers ();
337335
You can’t perform that action at this time.
0 commit comments