Fix PLR cancel with ExtUI (#16556)
This commit is contained in:
committed by
Scott Lahteine
parent
1457e40208
commit
ffd8b595d1
@@ -86,6 +86,10 @@ void GcodeSuite::M24() {
|
||||
*/
|
||||
void GcodeSuite::M25() {
|
||||
|
||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||
if (recovery.enabled) recovery.save(true, false);
|
||||
#endif
|
||||
|
||||
// Set initial pause flag to prevent more commands from landing in the queue while we try to pause
|
||||
#if ENABLED(SDSUPPORT)
|
||||
if (IS_SD_PRINTING()) card.pauseSDPrint();
|
||||
|
Reference in New Issue
Block a user