aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial.h
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/HardwareSerial.h')
-rwxr-xr-xcores/arduino/HardwareSerial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/HardwareSerial.h b/cores/arduino/HardwareSerial.h
index 884f9fe..1770a63 100755
--- a/cores/arduino/HardwareSerial.h
+++ b/cores/arduino/HardwareSerial.h
@@ -48,7 +48,7 @@ class HardwareSerial : public Stream
uint8_t rxen, uint8_t txen, uint8_t rxcie, uint8_t udre, uint8_t u2x);
void begin(long);
void end();
- virtual uint8_t available(void);
+ virtual int available(void);
virtual int peek(void);
virtual int read(void);
virtual void flush(void);