Browse Source

Fix PLR condition saving retract

pull/1/head
Scott Lahteine 5 years ago
parent
commit
62b875f918
  1. 3
      Marlin/src/feature/power_loss_recovery.cpp

3
Marlin/src/feature/power_loss_recovery.cpp

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

Loading…
Cancel
Save