Skip to content

Commit 6605efe

Browse files
committed
WiFiS3: remove delay() call from localIP
1 parent c22f644 commit 6605efe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libraries/WiFiS3/src/WiFi.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ IPAddress CWifi::localIP() {
333333

334334
unsigned long start_time = millis();
335335
do {
336-
delay(100);
337336
if(modem.write(string(PROMPT(_MODE)),res, "%s" , CMD_READ(_MODE))) {
338337
if(atoi(res.c_str()) == 1) {
339338
if(modem.write(string(PROMPT(_IPSTA)),res, "%s%d\r\n" , CMD_WRITE(_IPSTA), IP_ADDR)) {

0 commit comments

Comments
 (0)