aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial.h
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2010-07-04 23:31:55 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2010-07-04 23:31:55 +0000
commitd3cb43c1c981ee3726d26c05ec3e42fffaa080c6 (patch)
tree61c23e7f21927311c04853da13a0f25a550d8c8c /cores/arduino/HardwareSerial.h
parent2c32369685d38f7367328d470571dd2f9a1104c7 (diff)
Adding a peek() function to Stream and HardwareSerial (Serial).
Diffstat (limited to 'cores/arduino/HardwareSerial.h')
-rwxr-xr-xcores/arduino/HardwareSerial.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cores/arduino/HardwareSerial.h b/cores/arduino/HardwareSerial.h
index cae1447..884f9fe 100755
--- a/cores/arduino/HardwareSerial.h
+++ b/cores/arduino/HardwareSerial.h
@@ -49,6 +49,7 @@ class HardwareSerial : public Stream
void begin(long);
void end();
virtual uint8_t available(void);
+ virtual int peek(void);
virtual int read(void);
virtual void flush(void);
virtual void write(uint8_t);