diff options
Diffstat (limited to 'cores/arduino/Stream.h')
-rw-r--r-- | cores/arduino/Stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cores/arduino/Stream.h b/cores/arduino/Stream.h index 3bf5283..1d3e50b 100644 --- a/cores/arduino/Stream.h +++ b/cores/arduino/Stream.h @@ -27,6 +27,7 @@ class Stream : public Print { public: virtual uint8_t available() = 0; + virtual int peek() = 0; virtual int read() = 0; virtual void flush() = 0; }; |