Removed GSM_NL around socket close for ESP

This commit is contained in:
SRGDamia1
2017-10-25 16:05:33 -04:00
parent 186da1aba6
commit 28903e76a5

View File

@@ -481,9 +481,11 @@ public:
} }
data = ""; data = "";
return index; return index;
} else if (data.endsWith(GF(GSM_NL "1,CLOSED" GSM_NL))) { //TODO: use mux } else if (data.endsWith(GF("1,CLOSED"))) { //TODO: use mux
DBG("### Socket has been closed."); DBG("### Socket has been closed.");
sockets[1]->sock_connected = false; sockets[1]->sock_connected = false;
data = "";
return index;
} }
} }
} while (millis() - startMillis < timeout); } while (millis() - startMillis < timeout);