LwipIntfDev - hostByName default value for the timeout parameter (#1858)

to have standard version with two parameters
This commit is contained in:
Juraj Andrássy 2023-11-30 17:58:15 +01:00 committed by GitHub
parent 58089b1f44
commit 9181ec055d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));