Add stream.flush(); here and there

This commit is contained in:
Volodymyr Shymanskyy
2017-09-02 19:26:54 +03:00
parent 9f7559f9f1
commit e37b2a62e4
3 changed files with 5 additions and 1 deletions

View File

@@ -251,6 +251,7 @@ private:
return -1;
}
stream.write((uint8_t*)buff, len);
stream.flush();
if (waitResponse(GF(GSM_NL "SEND OK" GSM_NL)) != 1) {
return -1;
}