LwipIntfDev - hostByName default value for the timeout parameter (#1858)
to have standard version with two parameters
This commit is contained in:
parent
58089b1f44
commit
9181ec055d
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ public:
|
|||
// ICMP echo, returns TTL
|
||||
int ping(IPAddress host, uint8_t ttl, uint32_t timeout = 5000);
|
||||
|
||||
int hostByName(const char* aHostname, IPAddress& aResult, int timeout);
|
||||
int hostByName(const char* aHostname, IPAddress& aResult, int timeout = 15000);
|
||||
|
||||
inline void setSPISpeed(int mhz) {
|
||||
setSPISettings(SPISettings(mhz, MSBFIRST, SPI_MODE0));
|
||||
|
|
|
|||
Loading…
Reference in a new issue