Save Power Loss Recovery only on move commands

This commit is contained in:
Scott Lahteine committed 2019-03-05 02:43:29 -06:00
1 parent 15738ea506
commit 2e5a3b01fd
2 files changed
+13 -6

No files matched your search

+1 -5
View File
@@ -868,12 +868,8 @@ void advance_command_queue() {
ok_to_send();
}
}
else {
else
gcode.process_next_command();
#if ENABLED(POWER_LOSS_RECOVERY)
if (IS_SD_PRINTING()) recovery.save();
#endif
}
#else