🐛 Fix manage_heaters recursion on servo move (#22313)
Followup to e297748b22
This commit is contained in:
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…
Reference in New Issue
Block a user