Move Power Loss Recovery check

This commit is contained in:
Scott Lahteine committed 2020-04-21 15:27:53 -05:00
1 parent 2ae00db43e
commit d96c769fd6
3 files changed
+9 -8

No files matched your search

+2 -2
View File
@@ -100,10 +100,10 @@ void PrintJobRecovery::changed() {
* If a saved state exists send 'M1000 S' to initiate job recovery.
*/
void PrintJobRecovery::check() {
if (!card.isMounted()) card.mount();
//if (!card.isMounted()) card.mount();
if (card.isMounted()) {
load();
if (!valid()) return purge();
if (!valid()) return cancel();
queue.inject_P(PSTR("M1000 S"));
}
}