Permalink
Browse files

Switched Thermal::write from using print() to using write() when usin…

…g arduino 1.0
  • Loading branch information...
1 parent 238d1ff commit 1b62ea1b821cfe199211cdadc2144c18ae047690 @dmalec dmalec committed Dec 11, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 Thermal.cpp
View
@@ -96,11 +96,12 @@ void Thermal::write(uint8_t c) {
Serial.print(c, HEX);
#if ARDUINO >= 100
Serial.print(" ("); Serial.write(c); Serial.println(")");
+ _printer->write(c);
#else
Serial.print(" ("); Serial.print(c, BYTE); Serial.println(")");
+ _printer->print(c);
#endif
- _printer->print(c);
delay(1);
#if ARDUINO >= 100

0 comments on commit 1b62ea1

Please sign in to comment.