Skip to content

Commit c682c3c

Browse files
committed
wifiS3: give some breath between status()
Former-commit-id: e9a12fd
1 parent 0128ec2 commit c682c3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/WiFiS3/src/WiFi.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ uint8_t CWifi::status() {
527527
modem.begin();
528528
string res = "";
529529
if(modem.write(string(PROMPT(_GETSTATUS)), res, CMD_READ(_GETSTATUS))) {
530+
delay(1);
530531
return atoi(res.c_str());
531532
}
532533
return 0;

0 commit comments

Comments
 (0)