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>
This commit is contained in:
FanDjango 2020-12-11 09:06:57 +01:00 committed by Scott Lahteine
parent 2a5b32f109
commit 74042d368e

View File

@ -133,11 +133,13 @@ void prepare_for_probe_offset_wizard() {
// Probe for Z reference // Probe for Z reference
ui.wait_for_move = true; 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; ui.wait_for_move = false;
#endif #endif
SET_SOFT_ENDSTOP_LOOSE(true); // Disable soft endstops for free Z movement
// Move Nozzle to Probing/Homing Position // Move Nozzle to Probing/Homing Position
ui.wait_for_move = true; ui.wait_for_move = true;
current_position += probe.offset_xy; current_position += probe.offset_xy;
@ -173,7 +175,6 @@ void goto_probe_offset_wizard() {
ui.goto_screen([]{ ui.goto_screen([]{
_lcd_draw_homing(); _lcd_draw_homing();
if (all_axes_homed()) { 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 z_offset_ref = 0; // Set Z Value for Wizard Position to 0
ui.goto_screen(prepare_for_probe_offset_wizard); ui.goto_screen(prepare_for_probe_offset_wizard);
ui.defer_status_screen(); ui.defer_status_screen();