aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/Stream.h')
-rw-r--r--cores/arduino/Stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/Stream.h b/cores/arduino/Stream.h
index 1d3e50b..1c72ec2 100644
--- a/cores/arduino/Stream.h
+++ b/cores/arduino/Stream.h
@@ -26,7 +26,7 @@
class Stream : public Print
{
public:
- virtual uint8_t available() = 0;
+ virtual int available() = 0;
virtual int peek() = 0;
virtual int read() = 0;
virtual void flush() = 0;