Explorar el Código

Enclosed error-messages for TEMP_SENSOR_1_AS_REDUNDANT in PSTR()

AnHardt hace 9 años
padre
commit
f680e509c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp Ver fichero

@@ -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…
Cancelar
Guardar