Skip to content

Commit

Permalink
Replace hard coded crash z lift value with Z lift value.
Browse files Browse the repository at this point in the history
With `M125 Z<value>` you can set the Z lift value via gcode as requested.
Fixes prusa3d#3419
  • Loading branch information
3d-gussner committed May 2, 2024
1 parent 28502a2 commit 08d26fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 08d26fd

Please sign in to comment.