Browse Source

Always look for PLR file, but more quickly

Scott Lahteine 4 years ago
parent
commit
9bff67bc74
1 changed files with 5 additions and 7 deletions
  1. 5
    7
      Marlin/src/feature/power_loss_recovery.cpp

+ 5
- 7
Marlin/src/feature/power_loss_recovery.cpp View File

100
  * If a saved state exists send 'M1000 S' to initiate job recovery.
100
  * If a saved state exists send 'M1000 S' to initiate job recovery.
101
  */
101
  */
102
 void PrintJobRecovery::check() {
102
 void PrintJobRecovery::check() {
103
-  if (enabled) {
104
-    if (!card.isMounted()) card.mount();
105
-    if (card.isMounted()) {
106
-      load();
107
-      if (!valid()) return purge();
108
-      queue.inject_P(PSTR("M1000 S"));
109
-    }
103
+  //if (!card.isMounted()) card.mount();
104
+  if (card.isMounted()) {
105
+    load();
106
+    if (!valid()) return purge();
107
+    queue.inject_P(PSTR("M1000 S"));
110
   }
108
   }
111
 }
109
 }
112
 
110
 

Loading…
Cancel
Save