Browse Source

🐛 Fix manage_heaters recursion on servo move (#22313)

Followup to e297748b22
vanilla_fb_2.0.x
Katelyn Schiesser 4 years ago
committed by Scott Lahteine
parent
commit
e9a1c10b34
  1. 4
      Marlin/src/module/temperature.cpp

4
Marlin/src/module/temperature.cpp

@ -1203,6 +1203,10 @@ void Temperature::min_temp_error(const heater_id_t heater_id) {
void Temperature::manage_heater() {
if (marlin_state == MF_INITIALIZING) return watchdog_refresh(); // If Marlin isn't started, at least reset the watchdog!
static bool no_reentry = false; // Prevent recursion
if (no_reentry) return;
REMEMBER(mh, no_reentry, true);
#if ENABLED(EMERGENCY_PARSER)
if (emergency_parser.killed_by_M112) kill(M112_KILL_STR, nullptr, true);

Loading…
Cancel
Save