aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial.h
diff options
context:
space:
mode:
authorPaulStoffregen <paul@pjrc.com>2014-07-18 07:01:26 -0700
committerPaulStoffregen <paul@pjrc.com>2014-07-18 07:01:26 -0700
commitbcc5488cbcddc8c3d7125fb59ac7edc054673ebc (patch)
treee490234dbc8facd41daa0b482f8331c3022bf8fb /cores/arduino/HardwareSerial.h
parentcb4ae51b425568c7d404798ec4010660c46a5638 (diff)
Add availableForWrite() to HardwareSerial
Diffstat (limited to 'cores/arduino/HardwareSerial.h')
-rw-r--r--cores/arduino/HardwareSerial.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cores/arduino/HardwareSerial.h b/cores/arduino/HardwareSerial.h
index b96e5d0..935934b 100644
--- a/cores/arduino/HardwareSerial.h
+++ b/cores/arduino/HardwareSerial.h
@@ -112,6 +112,7 @@ class HardwareSerial : public Stream
virtual int available(void);
virtual int peek(void);
virtual int read(void);
+ int availableForWrite(void);
virtual void flush(void);
virtual size_t write(uint8_t);
inline size_t write(unsigned long n) { return write((uint8_t)n); }