Skip to content

Commit 47e6129

Browse files
committed
Porting HD API ver. 2.7
1 parent 6e149c4 commit 47e6129

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)