Fix and tweak POWER_LOSS_RECOVERY (#11151)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2018-06-29 22:41:02 -05:00
1 parent 0fff79c24b
commit fbf1c9b496
4 files changed
+37 -29

No files matched your search

+1 -5
View File
@@ -875,11 +875,7 @@ void lcd_quick_feedback(const bool clear_buttons) {
lcd_return_to_status();
#if ENABLED(POWER_LOSS_RECOVERY)
card.openJobRecoveryFile(false);
job_recovery_info.valid_head = job_recovery_info.valid_foot = 0;
(void)card.saveJobRecoveryInfo();
card.closeJobRecoveryFile();
job_recovery_commands_count = 0;
card.removeJobRecoveryFile();
#endif
}