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 1
1
#pragma once
2
2
3
- // #define LWIP_USE_TIMER
4
3
#define UNUSED (x ) (void )(x)
5
4
6
5
#define USE_LWIP_AS_LIBRARY
@@ -80,7 +79,7 @@ typedef enum {
80
79
NI_ETHERNET
81
80
} NetIfType_t;
82
81
83
- #define MAX_CLIENT 32
82
+ #define MAX_CLIENT MEMP_NUM_TCP_PCB
84
83
#define MAX_DHCP_TRIES 4
85
84
#define TIMEOUT_DNS_REQUEST 10000U
86
85
@@ -97,7 +96,6 @@ typedef enum {
97
96
#define INVALID_RESPONSE -4
98
97
99
98
class CLwipIf ;
100
- class lwipClient ;
101
99
102
100
/* Base class implements DHCP, derived class will switch it on or off */
103
101
class CNetIf : public NetworkInterface {
@@ -331,7 +329,7 @@ class CLwipIf {
331
329
// functions that handle DNS resolution
332
330
// DNS servers are also set by dhcp
333
331
#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
335
333
uint8_t addDnsServer (const IPAddress& aDNSServer, int8_t priority=-1 );
336
334
void clearDnsServers ();
337
335
You can’t perform that action at this time.
0 commit comments