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

@@ -486,6 +486,7 @@ public:
}
stream.print(text);
stream.write((char)0x1A);
stream.flush();
return waitResponse(60000L) == 1;
}
@@ -512,6 +513,7 @@ public:
stream.print(c, HEX);
}
stream.write((char)0x1A);
stream.flush();
return waitResponse(60000L) == 1;
}