Browse Source

Fix PLR condition saving retract

Scott Lahteine 5 years ago
parent
commit
62b875f918
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Marlin/src/feature/power_loss_recovery.cpp

+ 2
- 1
Marlin/src/feature/power_loss_recovery.cpp View File

@@ -327,9 +327,10 @@ void PrintJobRecovery::resume() {
327 327
   // Restore retract and hop state
328 328
   #if ENABLED(FWRETRACT)
329 329
     for (uint8_t e = 0; e < EXTRUDERS; e++) {
330
-      if (info.retract[e] != 0.0)
330
+      if (info.retract[e] != 0.0) {
331 331
         fwretract.current_retract[e] = info.retract[e];
332 332
         fwretract.retracted[e] = true;
333
+      }
333 334
     }
334 335
     fwretract.current_hop = info.retract_hop;
335 336
   #endif

Loading…
Cancel
Save