Browse Source

Merge pull request #3701 from esenapaj/patch-2

Fix compilation error in debugging  code
Scott Lahteine 8 years ago
parent
commit
77e25043a9
1 changed files with 5 additions and 9 deletions
  1. 5
    9
      Marlin/temperature.cpp

+ 5
- 9
Marlin/temperature.cpp View File

@@ -1036,15 +1036,11 @@ void Temperature::init() {
1036 1036
     /**
1037 1037
         SERIAL_ECHO_START;
1038 1038
         SERIAL_ECHOPGM("Thermal Thermal Runaway Running. Heater ID: ");
1039
-        if (heater_id < 0) SERIAL_ECHOPGM("bed"); else SERIAL_ECHOPGM(heater_id);
1040
-        SERIAL_ECHOPGM(" ;  State:");
1041
-        SERIAL_ECHOPGM(*state);
1042
-        SERIAL_ECHOPGM(" ;  Timer:");
1043
-        SERIAL_ECHOPGM(*timer);
1044
-        SERIAL_ECHOPGM(" ;  Temperature:");
1045
-        SERIAL_ECHOPGM(temperature);
1046
-        SERIAL_ECHOPGM(" ;  Target Temp:");
1047
-        SERIAL_ECHOPGM(target_temperature);
1039
+        if (heater_id < 0) SERIAL_ECHOPGM("bed"); else SERIAL_ECHO(heater_id);
1040
+        SERIAL_ECHOPAIR(" ;  State:", *state);
1041
+        SERIAL_ECHOPAIR(" ;  Timer:", *timer);
1042
+        SERIAL_ECHOPAIR(" ;  Temperature:", temperature);
1043
+        SERIAL_ECHOPAIR(" ;  Target Temp:", target_temperature);
1048 1044
         SERIAL_EOL;
1049 1045
     */
1050 1046
 

Loading…
Cancel
Save