aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cores/arduino/Stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cores/arduino/Stream.h b/cores/arduino/Stream.h
index c98759b..93d8275 100644
--- a/cores/arduino/Stream.h
+++ b/cores/arduino/Stream.h
@@ -28,6 +28,7 @@ class Stream : public Print
public:
virtual int available() = 0;
virtual int read() = 0;
+ virtual int peek() = 0;
virtual void flush() = 0;
};