From 0e1f5c2f6a02cba00b4a32c7a6ca7b14da4d76de Mon Sep 17 00:00:00 2001 From: Nathan Seidle Date: Thu, 27 Aug 2020 11:06:40 -0600 Subject: [PATCH] Add Print::write to get write(buf, size) A few libraries rely on this ability. --- cores/arduino/ard_sup/ard_supers/HardwareSerial.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cores/arduino/ard_sup/ard_supers/HardwareSerial.h b/cores/arduino/ard_sup/ard_supers/HardwareSerial.h index 66c4bc6..3b032da 100644 --- a/cores/arduino/ard_sup/ard_supers/HardwareSerial.h +++ b/cores/arduino/ard_sup/ard_supers/HardwareSerial.h @@ -68,6 +68,7 @@ class HardwareSerial : public Stream virtual int read(void) = 0; virtual void flush(void) = 0; virtual size_t write(uint8_t) = 0; + using Print::write; // pull in write(str) and write(buf, size) from Print virtual operator bool() = 0; };