Replace hard coded crash z lift value with Z lift value.

With `M125 Z<value>` you can set the Z lift value via gcode as requested.
Fixes #3419
This commit is contained in:
3d-gussner 2024-05-02 11:37:13 +02:00
parent 28502a2b6e
commit 08d26fdee2
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,7 @@ bool fans_check_enabled = true;
void crashdet_stop_and_save_print()
{
stop_and_save_print_to_ram(10, -default_retraction); //XY - no change, Z 10mm up, E -1mm retract
stop_and_save_print_to_ram(pause_position[Z_AXIS], -default_retraction); //XY - no change, Pause Z LIFT mm up, E -1mm retract
}
void crashdet_restore_print_and_continue()