adafruit/Adafruit-Thermal-Printer-Library

leftover debug code in ::write

driverblock opened this issue · 1 comments

size_t Adafruit_Thermal::write(uint8_t c) {

contains non-optioned debug code which echoes the printer output to Serial:

Serial.print(" 0x");
Serial.print(c, HEX);
Serial.print(" (");

if ARDUINO >= 100

Serial.write(c);

else

Serial.print(" (");

endif

Serial.println(")");

Thanks. I've simply deleted the offending lines rather than #ifdef around them, as it's not likely needed at this point.