Browse Source

Extra wait in Bee stream clear

v_master
Sara Damiano 6 years ago
parent
commit
de5e5e359e
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/TinyGsmClientXBee.h

+ 4
- 2
src/TinyGsmClientXBee.h View File

@ -783,8 +783,10 @@ public:
*/
void streamClear(void) {
TINY_GSM_YIELD();
while (stream.available()) { stream.read();}
while (stream.available()) {
stream.read();
TINY_GSM_YIELD();
}
}
template<typename... Args>


Loading…
Cancel
Save