Skip to content

Commit be1a52e

Browse files
authored
compatibility to Stream()
1 parent 4046a58 commit be1a52e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cores/esp32/HardwareSerial.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ class HardwareSerial: public Stream
6262
int availableForWrite(void);
6363
int peek(void);
6464
int read(void);
65-
void flush( bool txOnly = false);
65+
void flush(void);
66+
void flush( bool txOnly);
6667
size_t write(uint8_t);
6768
size_t write(const uint8_t *buffer, size_t size);
6869

0 commit comments

Comments
 (0)