From 9186be7b839c6e65265a750d945e9d13442547d6 Mon Sep 17 00:00:00 2001 From: esenapaj Date: Mon, 9 May 2016 01:46:13 +0900 Subject: [PATCH] Fix compilation error in debugging code Fix compilation error in Thermal Runaway debugging code --- Marlin/temperature.cpp | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index 1d7172452..f8c85fbc9 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -1036,15 +1036,11 @@ void Temperature::init() { /** SERIAL_ECHO_START; SERIAL_ECHOPGM("Thermal Thermal Runaway Running. Heater ID: "); - if (heater_id < 0) SERIAL_ECHOPGM("bed"); else SERIAL_ECHOPGM(heater_id); - SERIAL_ECHOPGM(" ; State:"); - SERIAL_ECHOPGM(*state); - SERIAL_ECHOPGM(" ; Timer:"); - SERIAL_ECHOPGM(*timer); - SERIAL_ECHOPGM(" ; Temperature:"); - SERIAL_ECHOPGM(temperature); - SERIAL_ECHOPGM(" ; Target Temp:"); - SERIAL_ECHOPGM(target_temperature); + if (heater_id < 0) SERIAL_ECHOPGM("bed"); else SERIAL_ECHO(heater_id); + SERIAL_ECHOPAIR(" ; State:", *state); + SERIAL_ECHOPAIR(" ; Timer:", *timer); + SERIAL_ECHOPAIR(" ; Temperature:", temperature); + SERIAL_ECHOPAIR(" ; Target Temp:", target_temperature); SERIAL_EOL; */