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>
FanDjango 4 years ago
parent
commit
43222d5879
No account linked to committer's email address
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Marlin/src/lcd/menu/menu_probe_offset.cpp

+ 3
- 2
Marlin/src/lcd/menu/menu_probe_offset.cpp View File

133
 
133
 
134
     // Probe for Z reference
134
     // Probe for Z reference
135
     ui.wait_for_move = true;
135
     ui.wait_for_move = true;
136
-    z_offset_ref = probe.probe_at_point(wizard_pos, PROBE_PT_RAISE, 0, true);
136
+    z_offset_ref = probe.probe_at_point(wizard_pos, PROBE_PT_STOW, 0, true);
137
     ui.wait_for_move = false;
137
     ui.wait_for_move = false;
138
 
138
 
139
   #endif
139
   #endif
140
 
140
 
141
+  SET_SOFT_ENDSTOP_LOOSE(true); // Disable soft endstops for free Z movement
142
+
141
   // Move Nozzle to Probing/Homing Position
143
   // Move Nozzle to Probing/Homing Position
142
   ui.wait_for_move = true;
144
   ui.wait_for_move = true;
143
   current_position += probe.offset_xy;
145
   current_position += probe.offset_xy;
173
   ui.goto_screen([]{
175
   ui.goto_screen([]{
174
     _lcd_draw_homing();
176
     _lcd_draw_homing();
175
     if (all_axes_homed()) {
177
     if (all_axes_homed()) {
176
-      SET_SOFT_ENDSTOP_LOOSE(true); // Disable soft endstops for free Z movement
177
       z_offset_ref = 0;             // Set Z Value for Wizard Position to 0
178
       z_offset_ref = 0;             // Set Z Value for Wizard Position to 0
178
       ui.goto_screen(prepare_for_probe_offset_wizard);
179
       ui.goto_screen(prepare_for_probe_offset_wizard);
179
       ui.defer_status_screen();
180
       ui.defer_status_screen();

Loading…
Cancel
Save