🚸 Emergency Parse M524 (#24761)
This commit is contained in:
committed by
Scott Lahteine
parent
aa28358267
commit
2fc97aa240
@ -1848,6 +1848,12 @@ void Temperature::task() {
|
||||
emergency_parser.quickstop_by_M410 = false; // quickstop_stepper may call idle so clear this now!
|
||||
quickstop_stepper();
|
||||
}
|
||||
|
||||
if (emergency_parser.sd_abort_by_M524) { // abort SD print immediately
|
||||
emergency_parser.sd_abort_by_M524 = false;
|
||||
card.flag.abort_sd_printing = true;
|
||||
gcode.process_subcommands_now(F("M524"));
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!updateTemperaturesIfReady()) return; // Will also reset the watchdog if temperatures are ready
|
||||
|
Reference in New Issue
Block a user