Handle M410 in the main task (#19752)
This commit is contained in:
@ -1032,8 +1032,14 @@ void Temperature::manage_heater() {
|
||||
if (!inited) return watchdog_refresh();
|
||||
#endif
|
||||
|
||||
if (TERN0(EMERGENCY_PARSER, emergency_parser.killed_by_M112))
|
||||
kill(M112_KILL_STR, nullptr, true);
|
||||
#if ENABLED(EMERGENCY_PARSER)
|
||||
if (emergency_parser.killed_by_M112) kill(M112_KILL_STR, nullptr, true);
|
||||
|
||||
if (emergency_parser.quickstop_by_M410) {
|
||||
emergency_parser.quickstop_by_M410 = false; // quickstop_stepper may call idle so clear this now!
|
||||
quickstop_stepper();
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!raw_temps_ready) return;
|
||||
|
||||
|
Reference in New Issue
Block a user