Fix compilation error in debugging code

Fix compilation error in Thermal Runaway debugging code
This commit is contained in:
esenapaj 2016-05-09 01:46:13 +09:00 committed by esenapaj
parent d7819298ca
commit 9186be7b83

View file

@ -1036,15 +1036,11 @@ void Temperature::init() {
/** /**
SERIAL_ECHO_START; SERIAL_ECHO_START;
SERIAL_ECHOPGM("Thermal Thermal Runaway Running. Heater ID: "); SERIAL_ECHOPGM("Thermal Thermal Runaway Running. Heater ID: ");
if (heater_id < 0) SERIAL_ECHOPGM("bed"); else SERIAL_ECHOPGM(heater_id); if (heater_id < 0) SERIAL_ECHOPGM("bed"); else SERIAL_ECHO(heater_id);
SERIAL_ECHOPGM(" ; State:"); SERIAL_ECHOPAIR(" ; State:", *state);
SERIAL_ECHOPGM(*state); SERIAL_ECHOPAIR(" ; Timer:", *timer);
SERIAL_ECHOPGM(" ; Timer:"); SERIAL_ECHOPAIR(" ; Temperature:", temperature);
SERIAL_ECHOPGM(*timer); SERIAL_ECHOPAIR(" ; Target Temp:", target_temperature);
SERIAL_ECHOPGM(" ; Temperature:");
SERIAL_ECHOPGM(temperature);
SERIAL_ECHOPGM(" ; Target Temp:");
SERIAL_ECHOPGM(target_temperature);
SERIAL_EOL; SERIAL_EOL;
*/ */