aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial.h
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2008-05-07 18:24:49 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2008-05-07 18:24:49 +0000
commit4b2b39e383d7fec0f94deb0f9a75a493bce2d0ca (patch)
tree43c30ba64a83d21416e640cd532a5cd4198b4f55 /cores/arduino/HardwareSerial.h
parent2d5bc015fbd70befc08c2295630ff06770e9d7c8 (diff)
Changing Print class to use regular virtual write() function (instead of my hack
ed together version).
Diffstat (limited to 'cores/arduino/HardwareSerial.h')
-rwxr-xr-xcores/arduino/HardwareSerial.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cores/arduino/HardwareSerial.h b/cores/arduino/HardwareSerial.h
index f2c6ce8..e4cb969 100755
--- a/cores/arduino/HardwareSerial.h
+++ b/cores/arduino/HardwareSerial.h
@@ -27,12 +27,11 @@
class HardwareSerial : public Print
{
public:
- HardwareSerial();
void begin(long);
uint8_t available(void);
int read(void);
void flush(void);
- void write(uint8_t);
+ virtual void write(uint8_t);
};
extern HardwareSerial Serial;