Permalink
Browse files

Merge pull request #1 from dmalec/master

Switch last occurrence of print() to write() in Thermal::write()
  • Loading branch information...
2 parents 238d1ff + 1b62ea1 commit f1a56c0c7f9cd67036ba39ceb1a450729b39f08f @PaintYourDragon PaintYourDragon 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 f1a56c0

Please sign in to comment.