From 716fba8dd98f54dcd816fa69cafdcb681b54ab11 Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Mon, 2 Jan 2017 11:17:30 +0000 Subject: Add Print::availableForWrite If available() is in the base Stream class, then availableForWrite() should be in the base Print class --- cores/arduino/USBAPI.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores/arduino/USBAPI.h') diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h index 358444e..479ced9 100644 --- a/cores/arduino/USBAPI.h +++ b/cores/arduino/USBAPI.h @@ -98,7 +98,7 @@ public: virtual int available(void); virtual int peek(void); virtual int read(void); - int availableForWrite(void); + virtual int availableForWrite(void); virtual void flush(void); virtual size_t write(uint8_t); virtual size_t write(const uint8_t*, size_t); -- cgit v1.2.3-18-g5258