Skip to content

Commit

Permalink
Probe offset wizard fixes (MarlinFirmware#20414)
Browse files Browse the repository at this point in the history
* STOW probe, reverting incorrect earlier change from MarlinFirmware#20344
* Adjust soft endstop disables, to ensure travel below bed functions properly

Co-authored-by: FanDjango <[email protected]>
  • Loading branch information
2 people authored and dpreed committed Feb 5, 2021
1 parent b80adce commit 1632ead
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Marlin/src/lcd/menu/menu_probe_offset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,13 @@ 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_RAISE, 0, true);
z_offset_ref = probe.probe_at_point(wizard_pos, PROBE_PT_STOW, 0, true);
ui.wait_for_move = false;

#endif

SET_SOFT_ENDSTOP_LOOSE(true); // Disable soft endstops for free Z movement

// Move Nozzle to Probing/Homing Position
ui.wait_for_move = true;
current_position += probe.offset_xy;
Expand Down Expand Up @@ -173,7 +175,6 @@ void goto_probe_offset_wizard() {
ui.goto_screen([]{
_lcd_draw_homing();
if (all_axes_homed()) {
SET_SOFT_ENDSTOP_LOOSE(true); // Disable soft endstops for free Z movement
z_offset_ref = 0; // Set Z Value for Wizard Position to 0
ui.goto_screen(prepare_for_probe_offset_wizard);
ui.defer_status_screen();
Expand Down

0 comments on commit 1632ead

Please sign in to comment.