Skip to content

Commit 0e1f5c2

Browse files
author
Nathan Seidle
committed
Add Print::write to get write(buf, size)
A few libraries rely on this ability.
1 parent d9b3290 commit 0e1f5c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cores/arduino/ard_sup/ard_supers/HardwareSerial.h

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ class HardwareSerial : public Stream
6868
virtual int read(void) = 0;
6969
virtual void flush(void) = 0;
7070
virtual size_t write(uint8_t) = 0;
71+
using Print::write; // pull in write(str) and write(buf, size) from Print
7172
virtual operator bool() = 0;
7273
};
7374

0 commit comments

Comments
 (0)