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/Print.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'cores/arduino/Print.cpp') diff --git a/cores/arduino/Print.cpp b/cores/arduino/Print.cpp index b8a85a7..d150b75 100755 --- a/cores/arduino/Print.cpp +++ b/cores/arduino/Print.cpp @@ -26,17 +26,11 @@ #include "Print.h" -// Constructors //////////////////////////////////////////////////////////////// - -Print::Print(void (*write)(uint8_t, void *)) { - this->write = write; -} - // Public Methods ////////////////////////////////////////////////////////////// void Print::print(uint8_t b) { - write(b, this); + write(b); } void Print::print(char c) -- cgit v1.2.3-18-g5258