Explorar el Código

Always look for PLR file, but more quickly

Scott Lahteine hace 4 años
padre
commit
9bff67bc74
Se han modificado 1 ficheros con 5 adiciones y 7 borrados
  1. 5
    7
      Marlin/src/feature/power_loss_recovery.cpp

+ 5
- 7
Marlin/src/feature/power_loss_recovery.cpp Ver fichero

@@ -100,13 +100,11 @@ void PrintJobRecovery::changed() {
100 100
  * If a saved state exists send 'M1000 S' to initiate job recovery.
101 101
  */
102 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…
Cancelar
Guardar