mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
🐛 Fix manage_heaters recursion on servo move (#22313)
Followup to e297748b22
This commit is contained in:
parent
2fa24a637d
commit
79405ce2af
@ -1236,6 +1236,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