Skip to content

Commit 41f8bf4

Browse files
committed
Uart now imports default write functions from Stream
1 parent 7ade600 commit 41f8bf4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/arduino/Uart.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class Uart : public HardwareSerial
3838
int read();
3939
void flush();
4040
size_t write(const uint8_t data);
41+
using Print::write; // pull in write(str) and write(buf, size) from Print
4142

4243
void IrqHandler();
4344

0 commit comments

Comments
 (0)