diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2008-05-07 18:24:49 +0000 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2008-05-07 18:24:49 +0000 |
commit | 4b2b39e383d7fec0f94deb0f9a75a493bce2d0ca (patch) | |
tree | 43c30ba64a83d21416e640cd532a5cd4198b4f55 /cores/arduino/Print.h | |
parent | 2d5bc015fbd70befc08c2295630ff06770e9d7c8 (diff) |
Changing Print class to use regular virtual write() function (instead of my hack
ed together version).
Diffstat (limited to 'cores/arduino/Print.h')
-rwxr-xr-x | cores/arduino/Print.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cores/arduino/Print.h b/cores/arduino/Print.h index 5cac3f2..8cec235 100755 --- a/cores/arduino/Print.h +++ b/cores/arduino/Print.h @@ -32,9 +32,8 @@ class Print { private: void printNumber(unsigned long, uint8_t); - void (*write)(uint8_t, void *); public: - Print(void (*)(uint8_t, void *)); + virtual void write(uint8_t); void print(char); void print(const char[]); void print(uint8_t); |