Browse Source

Fix TouchMI probe movement (left side) (#14875)

pull/1/head
Fourmi 5 years ago
committed by Scott Lahteine
parent
commit
eb3a3d249e
  1. 8
      Marlin/src/module/probe.cpp

8
Marlin/src/module/probe.cpp

@ -109,9 +109,7 @@ float zprobe_zoffset; // Initialized by settings.load()
// Move to the magnet to unlock the probe
void run_deploy_moves_script() {
#ifndef TOUCH_MI_DEPLOY_XPOS
#define TOUCH_MI_DEPLOY_XPOS X_MIN_POS
#elif TOUCH_MI_DEPLOY_XPOS > X_MAX_BED
#if TOUCH_MI_DEPLOY_XPOS > X_MAX_BED
TemporaryGlobalEndstopsState unlock_x(false);
#endif
@ -129,7 +127,9 @@ float zprobe_zoffset; // Initialized by settings.load()
ui.reset_status();
ui.goto_screen(prev_screen);
#else
do_blocking_move_to_x(TOUCH_MI_DEPLOY_XPOS);
#ifdef TOUCH_MI_DEPLOY_XPOS
do_blocking_move_to_x(TOUCH_MI_DEPLOY_XPOS);
#endif
#endif
}

Loading…
Cancel
Save