Browse Source

Probe offset wizard fixes (#20414)

* STOW probe, reverting incorrect earlier change from #20344
* Adjust soft endstop disables, to ensure travel below bed functions properly

Co-authored-by: FanDjango <FanDjango@users.noreply.github.com>
vanilla_fb_2.0.x
FanDjango 4 years ago
committed by Scott Lahteine
parent
commit
74042d368e
  1. 5
      Marlin/src/lcd/menu/menu_probe_offset.cpp

5
Marlin/src/lcd/menu/menu_probe_offset.cpp

@ -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;
@ -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();

Loading…
Cancel
Save