Skip to content

Commit 89215d2

Browse files
committed
WiFiS3 Modem timeout at ERROR response fix
1 parent b82e642 commit 89215d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/WiFiS3/src/Modem.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ bool ModemClass::buf_read(const string &prompt, string &data_res) {
257257
}
258258
else if (string::npos != data_res.rfind(RESULT_ERROR)) {
259259
data_res.substr(0, data_res.length() - (sizeof(RESULT_ERROR) - 1));
260+
found = true;
260261
res = false;
261262
break;
262263
}

0 commit comments

Comments
 (0)