|
@ -35,6 +35,10 @@ |
|
|
#include "../../../lcd/ultralcd.h" |
|
|
#include "../../../lcd/ultralcd.h" |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(POWER_LOSS_RECOVERY) |
|
|
|
|
|
#include "../../../feature/power_loss_recovery.h" |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* M125: Store current position and move to parking position. |
|
|
* M125: Store current position and move to parking position. |
|
|
* Called on pause (by M25) to prevent material leaking onto the |
|
|
* Called on pause (by M25) to prevent material leaking onto the |
|
@ -85,6 +89,9 @@ void GcodeSuite::M125() { |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
if (pause_print(retract, park_point, 0, show_lcd)) { |
|
|
if (pause_print(retract, park_point, 0, show_lcd)) { |
|
|
|
|
|
#if ENABLED(POWER_LOSS_RECOVERY) |
|
|
|
|
|
if (recovery.enabled) recovery.save(true); |
|
|
|
|
|
#endif |
|
|
if (!sd_printing || show_lcd) { |
|
|
if (!sd_printing || show_lcd) { |
|
|
wait_for_confirmation(false, 0); |
|
|
wait_for_confirmation(false, 0); |
|
|
resume_print(0, 0, PAUSE_PARK_RETRACT_LENGTH, 0); |
|
|
resume_print(0, 0, PAUSE_PARK_RETRACT_LENGTH, 0); |
|
|