(Hopefully) better wait for close on SARA R410

This commit is contained in:
Sara Damiano
2019-05-08 13:08:40 -04:00
parent 3ecce8641e
commit 43cd516d1f
4 changed files with 13 additions and 15 deletions

View File

@@ -723,7 +723,7 @@ protected:
streamSkipUntil(','); // Skip total received
streamSkipUntil(','); // Skip have read
result = stream.readStringUntil('\n').toInt();
DBG("### DATA AVAILABLE:", result, "on", mux);
if (result) DBG("### DATA AVAILABLE:", result, "on", mux);
waitResponse();
}
if (!result) {