Watch the heater a little longer
This commit is contained in:
parent
5693a6e3c9
commit
6697a8f375
@ -620,6 +620,7 @@ void manage_heater() {
|
|||||||
|
|
||||||
// Check if the temperature is failing to increase
|
// Check if the temperature is failing to increase
|
||||||
#ifdef THERMAL_PROTECTION_HOTENDS
|
#ifdef THERMAL_PROTECTION_HOTENDS
|
||||||
|
|
||||||
// Is it time to check this extruder's heater?
|
// Is it time to check this extruder's heater?
|
||||||
if (watch_heater_next_ms[e] && ms > watch_heater_next_ms[e]) {
|
if (watch_heater_next_ms[e] && ms > watch_heater_next_ms[e]) {
|
||||||
// Has it failed to increase enough?
|
// Has it failed to increase enough?
|
||||||
@ -629,10 +630,11 @@ void manage_heater() {
|
|||||||
_temp_error(e, PSTR(MSG_HEATING_FAILED), PSTR(MSG_HEATING_FAILED_LCD));
|
_temp_error(e, PSTR(MSG_HEATING_FAILED), PSTR(MSG_HEATING_FAILED_LCD));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Only check once per M104/M109
|
// Start again if the target is still far off
|
||||||
watch_heater_next_ms[e] = 0;
|
start_watching_heater(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // THERMAL_PROTECTION_HOTENDS
|
#endif // THERMAL_PROTECTION_HOTENDS
|
||||||
|
|
||||||
#ifdef TEMP_SENSOR_1_AS_REDUNDANT
|
#ifdef TEMP_SENSOR_1_AS_REDUNDANT
|
||||||
|
Loading…
Reference in New Issue
Block a user