diff --git a/Marlin/src/feature/pause.cpp b/Marlin/src/feature/pause.cpp index af5d26e0f5f92..5e48e5590e597 100644 --- a/Marlin/src/feature/pause.cpp +++ b/Marlin/src/feature/pause.cpp @@ -421,19 +421,14 @@ bool pause_print(const_float_t retract, const xyz_pos_t &park_point, const bool // Will the nozzle be parking? const bool do_park = !axes_should_home(); - // For PLR we'll need to supply a raise distance #if ENABLED(POWER_LOSS_RECOVERY) + // Save PLR info in case the power goes out while parked const float park_raise = do_park ? nozzle.park_mode_0_height(park_point.z) - current_position.z : POWER_LOSS_ZRAISE; - #endif - - // Save PLR info in case the power goes out while parked - #if ENABLED(POWER_LOSS_RECOVERY) if (IS_SD_PRINTING() && recovery.enabled) recovery.save(true, park_raise, do_park); #endif // If axes don't need to home then the nozzle can park - if (do_park) - nozzle.park(0, park_point); // Park the nozzle by doing a Minimum Z Raise followed by an XY Move + if (do_park) nozzle.park(0, park_point); // Park the nozzle by doing a Minimum Z Raise followed by an XY Move #if ENABLED(DUAL_X_CARRIAGE) const int8_t saved_ext = active_extruder;