Browse Source

Add chamber max-temp check

Followup to #13756
pull/1/head
Scott Lahteine 6 years ago
parent
commit
bddb776ddb
  1. 5
      Marlin/src/module/temperature.cpp

5
Marlin/src/module/temperature.cpp

@ -950,7 +950,7 @@ void Temperature::manage_heater() {
HOTEND_LOOP() {
if (degHotend(e) > temp_range[e].maxtemp)
temp_error(e, PSTR(MSG_T_THERMAL_RUNAWAY), TEMP_ERR_PSTR(MSG_THERMAL_RUNAWAY, e));
_temp_error(e, PSTR(MSG_T_THERMAL_RUNAWAY), TEMP_ERR_PSTR(MSG_THERMAL_RUNAWAY, e));
#if HEATER_IDLE_HANDLER
hotend_idle[e].update(ms);
@ -1076,6 +1076,9 @@ void Temperature::manage_heater() {
#if HAS_HEATED_CHAMBER
if (degChamber() > CHAMBER_MAXTEMP)
temp_error(-2, PSTR(MSG_T_THERMAL_RUNAWAY), TEMP_ERR_PSTR(MSG_THERMAL_RUNAWAY, -2));
#if WATCH_CHAMBER
// Make sure temperature is increasing
if (watch_chamber.elapsed(ms)) { // Time to check the chamber?

Loading…
Cancel
Save