Save Power Loss Recovery only on move commands

This commit is contained in:
Scott Lahteine
2019-03-05 01:47:06 -06:00
parent 15738ea506
commit 2e5a3b01fd
2 changed files with 13 additions and 6 deletions

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