Removed recursive calls to maitain (shouldn't I have leared)
This commit is contained in:
@@ -883,7 +883,6 @@ protected:
|
||||
return 0;
|
||||
}
|
||||
streamSkipUntil(','); // Skip mux
|
||||
maintain(); // look for a very quick response from the remote
|
||||
return stream.readStringUntil('\n').toInt();
|
||||
}
|
||||
|
||||
@@ -926,7 +925,6 @@ protected:
|
||||
}
|
||||
waitResponse();
|
||||
DBG("### READ:", len_confirmed, "from", mux);
|
||||
maintain(); // Listen for a close or other URC
|
||||
return len_confirmed;
|
||||
}
|
||||
|
||||
@@ -942,7 +940,6 @@ protected:
|
||||
if (!result) {
|
||||
sockets[mux]->sock_connected = modemGetConnected(mux);
|
||||
}
|
||||
maintain(); // Listen for a close or other URC
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -950,7 +947,6 @@ protected:
|
||||
sendAT(GF("+CIPSTATUS="), mux);
|
||||
int res = waitResponse(GF(",\"CONNECTED\""), GF(",\"CLOSED\""), GF(",\"CLOSING\""), GF(",\"INITIAL\""));
|
||||
waitResponse();
|
||||
maintain(); // Listen for a close or other URC
|
||||
return 1 == res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user