aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial.cpp
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.cpp
parent2d5bc015fbd70befc08c2295630ff06770e9d7c8 (diff)
Changing Print class to use regular virtual write() function (instead of my hack
ed together version).
Diffstat (limited to 'cores/arduino/HardwareSerial.cpp')
-rwxr-xr-xcores/arduino/HardwareSerial.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/cores/arduino/HardwareSerial.cpp b/cores/arduino/HardwareSerial.cpp
index 76cd9b0..aab7fc5 100755
--- a/cores/arduino/HardwareSerial.cpp
+++ b/cores/arduino/HardwareSerial.cpp
@@ -26,14 +26,6 @@
#include "HardwareSerial.h"
-void HardwareSerialWrite(uint8_t value, void *instance) {
- ((HardwareSerial *) instance)->write(value);
-}
-
-// Constructors ////////////////////////////////////////////////////////////////
-
-HardwareSerial::HardwareSerial() : Print(HardwareSerialWrite) {}
-
// Public Methods //////////////////////////////////////////////////////////////
void HardwareSerial::begin(long speed)