|
|
|
|
613
|
#ifdef TEMP_SENSOR_1_AS_REDUNDANT
|
613
|
#ifdef TEMP_SENSOR_1_AS_REDUNDANT
|
614
|
if (fabs(current_temperature[0] - redundant_temperature) > MAX_REDUNDANT_TEMP_SENSOR_DIFF) {
|
614
|
if (fabs(current_temperature[0] - redundant_temperature) > MAX_REDUNDANT_TEMP_SENSOR_DIFF) {
|
615
|
disable_heater();
|
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
|
#endif //TEMP_SENSOR_1_AS_REDUNDANT
|
618
|
#endif //TEMP_SENSOR_1_AS_REDUNDANT
|
619
|
|
619
|
|