aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Print.cpp
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-02-26 13:58:03 -0500
committerDavid A. Mellis <d.mellis@arduino.cc>2011-02-26 13:58:03 -0500
commitc8b8b8724cc94cdd9290033d76513c8f816ad862 (patch)
treecf34b3703cdd7e1740770e7b3527fc79862100ce /cores/arduino/Print.cpp
parentb416231d288d6b6ffe138bab764704bf2936962f (diff)
Removing BYTE keyword (use Serial.write() instead).
Diffstat (limited to 'cores/arduino/Print.cpp')
-rwxr-xr-xcores/arduino/Print.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cores/arduino/Print.cpp b/cores/arduino/Print.cpp
index 4ee556d..eb1a8de 100755
--- a/cores/arduino/Print.cpp
+++ b/cores/arduino/Print.cpp
@@ -55,9 +55,9 @@ void Print::print(const char str[])
write(str);
}
-void Print::print(char c, int base)
+void Print::print(char c)
{
- print((long) c, base);
+ write(c);
}
void Print::print(unsigned char b, int base)
@@ -119,9 +119,9 @@ void Print::println(const char c[])
println();
}
-void Print::println(char c, int base)
+void Print::println(char c)
{
- print(c, base);
+ print(c);
println();
}