From 4b2b39e383d7fec0f94deb0f9a75a493bce2d0ca Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Wed, 7 May 2008 18:24:49 +0000 Subject: Changing Print class to use regular virtual write() function (instead of my hack ed together version). --- cores/arduino/HardwareSerial.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cores/arduino/HardwareSerial.cpp') 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) -- cgit v1.2.3-18-g5258