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