8000 compatibility for Stream() · jamesfowkes/arduino-esp32@8956c51 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8956c51

Browse files
authored
compatibility for Stream()
1 parent be1a52e commit 8956c51

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cores/esp32/HardwareSerial.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ int HardwareSerial::read(void)
131131
return -1;
132132
}
133133

134+
void HardwareSerial::flush(void)
135+
{
136+
uartFlush(_uart, false);
137+
}
138+
134139
void HardwareSerial::flush(bool txOnly)
135140
{
136141
uartFlush(_uart, txOnly);

0 commit comments

Comments
 (0)
0