Skip to content

Commit 3f5740d

Browse files
committed
Merge branch 'hd_2.7' of github.com:arduino/wifishield
2 parents b114164 + 47e6129 commit 3f5740d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WiFi/utility/wifi_drv.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,12 +430,12 @@ int WiFiDrv::getHostByName(const char* aHostname, IPAddress& aResult)
430430
{
431431
while(!getHostByName(aResult) && --retry > 0)
432432
{
433-
delay(500);
433+
delay(1000);
434434
}
435435
}else{
436436
return 0;
437437
}
438-
return 1;
438+
return (retry>0);
439439
}
440440

441441
WiFiDrv wiFiDrv;

0 commit comments

Comments
 (0)