Pull some updates from upstream

This commit is contained in:
Sara Damiano
2018-09-07 12:47:19 -04:00
parent 078bc6d0fc
commit da6732b5a9
4 changed files with 7 additions and 7 deletions

View File

@@ -726,7 +726,7 @@ public:
TINY_GSM_YIELD();
while (stream.available() > 0) {
int a = stream.read();
if (a <= 0) continue; // Skip 0x00 bytes, just in case
if (a < 0) continue;
data += (char)a;
if (r1 && data.endsWith(r1)) {
index = 1;