Skip to content

Commit

Permalink
Raise z after probe to prevent crash on printers with a positive z of…
Browse files Browse the repository at this point in the history
…fset.
  • Loading branch information
ohrn committed Dec 2, 2020
1 parent c503f88 commit 7616fac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Marlin/src/lcd/menu/menu_probe_offset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ void prepare_for_probe_offset_wizard() {
// Probe for Z reference
ui.wait_for_move = true;
z_offset_ref = probe.probe_at_point(wizard_pos, PROBE_PT_STOW, 0, true);
z_clearance_move();
ui.wait_for_move = false;

#endif
Expand Down

1 comment on commit 7616fac

@swissnorp
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there should be a clearance move, than it should be done in z_offset_ref = probe.probe_at_point(wizard_pos, PROBE_PT_RAISE, 0, true);

Please sign in to comment.