Extra wait to clear buffer

This commit is contained in:
SRGDamia1
2017-04-13 15:33:11 -04:00
parent 5794d7b910
commit cdfad5274d
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ public:
at->exitCommand();
at->modemSend("", 1, mux);
at->waitResponse();
delay(100);
at->waitResponse(); // To clear the buffer
at->commandMode();
at->sendAT(GF("TM64")); // Set socket timeout back to 10seconds;
at->waitResponse();