1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-09-09 18:40:33 +03:00

comments on Arduino flush() method (#8318)

This commit is contained in:
david gauchard
2021-09-29 15:22:30 +02:00
committed by GitHub
parent 93b7325cb8
commit 9d024d17fd
4 changed files with 7 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ public:
size_t peekBytes(char *buffer, size_t length) {
return peekBytes((uint8_t *) buffer, length);
}
virtual void flush() override { (void)flush(0); }
virtual void flush() override { (void)flush(0); } // wait for all outgoing characters to be sent, output buffer should be empty after this call
virtual void stop() override { (void)stop(0); }
bool flush(unsigned int maxWaitMs);
bool stop(unsigned int maxWaitMs);