Skip to content

Commit

Permalink
LwipIntfDev - hostByName default value for the timeout parameter (#1858)
Browse files Browse the repository at this point in the history
to have standard version with two parameters
  • Loading branch information
JAndrassy authored Nov 30, 2023
1 parent 58089b1 commit 9181ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/lwIP_Ethernet/src/LwipIntfDev.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class LwipIntfDev: public LwipIntf, public RawDev {
// 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));
Expand Down

0 comments on commit 9181ec0

Please sign in to comment.