Browse Source

Enclosed error-messages for TEMP_SENSOR_1_AS_REDUNDANT in PSTR()

AnHardt 9 years ago
parent
commit
f680e509c4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp View File

@@ -613,7 +613,7 @@ void manage_heater() {
613 613
     #ifdef TEMP_SENSOR_1_AS_REDUNDANT
614 614
       if (fabs(current_temperature[0] - redundant_temperature) > MAX_REDUNDANT_TEMP_SENSOR_DIFF) {
615 615
         disable_heater();
616
-        _temp_error(-1, MSG_EXTRUDER_SWITCHED_OFF, MSG_ERR_REDUNDANT_TEMP);
616
+        _temp_error(0, PSTR(MSG_EXTRUDER_SWITCHED_OFF), PSTR(MSG_ERR_REDUNDANT_TEMP));
617 617
       }
618 618
     #endif //TEMP_SENSOR_1_AS_REDUNDANT
619 619
 

Loading…
Cancel
Save