|
|
|
@ -435,7 +435,9 @@ uint8_t Temperature::soft_pwm_amount[HOTENDS],
|
|
|
|
|
_temp_error(hotend, PSTR(MSG_T_HEATING_FAILED), PSTR(MSG_HEATING_FAILED_LCD));
|
|
|
|
|
}
|
|
|
|
|
else if (current < target - (MAX_OVERSHOOT_PID_AUTOTUNE)) // Heated, then temperature fell too far?
|
|
|
|
|
_temp_error(hotend, PSTR(MSG_T_THERMAL_RUNAWAY), PSTR(MSG_THERMAL_RUNAWAY));
|
|
|
|
|
_temp_error(hotend, PSTR(MSG_T_THERMAL_RUNAWAY),
|
|
|
|
|
hotend >= 0 ? PSTR(MSG_THERMAL_RUNAWAY) : PSTR(MSG_THERMAL_RUNAWAY_BED)
|
|
|
|
|
);
|
|
|
|
|
#endif
|
|
|
|
|
} // every 2 seconds
|
|
|
|
|
|
|
|
|
@ -1414,7 +1416,9 @@ void Temperature::init() {
|
|
|
|
|
else if (PENDING(millis(), *timer)) break;
|
|
|
|
|
*state = TRRunaway;
|
|
|
|
|
case TRRunaway:
|
|
|
|
|
_temp_error(heater_id, PSTR(MSG_T_THERMAL_RUNAWAY), PSTR(MSG_THERMAL_RUNAWAY));
|
|
|
|
|
_temp_error(heater_id, PSTR(MSG_T_THERMAL_RUNAWAY),
|
|
|
|
|
heater_id >= 0 ? PSTR(MSG_THERMAL_RUNAWAY) : PSTR(MSG_THERMAL_RUNAWAY_BED)
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|