1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00

Merge branch 'hd_2.7' of github.com:arduino/wifishield

This commit is contained in:
Federico Vanzati
2012-05-21 15:30:46 +02:00

View File

@ -430,12 +430,12 @@ int WiFiDrv::getHostByName(const char* aHostname, IPAddress& aResult)
{ {
while(!getHostByName(aResult) && --retry > 0) while(!getHostByName(aResult) && --retry > 0)
{ {
delay(500); delay(1000);
} }
}else{ }else{
return 0; return 0;
} }
return 1; return (retry>0);
} }
WiFiDrv wiFiDrv; WiFiDrv wiFiDrv;