瀏覽代碼

Always look for PLR file, but more quickly

Scott Lahteine 4 年之前
父節點
當前提交
9bff67bc74
共有 1 個檔案被更改,包括 5 行新增7 行删除
  1. 5
    7
      Marlin/src/feature/power_loss_recovery.cpp

+ 5
- 7
Marlin/src/feature/power_loss_recovery.cpp 查看文件

@@ -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…
取消
儲存