🐛 Fix manage_heaters recursion on servo move (#22313)

Followup to e297748b22
2.0.x
Katelyn Schiesser 3 years ago committed by Scott Lahteine
parent 304a926b0a
commit e9a1c10b34

@ -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