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

2.0.x
Fourmi 5 years ago committed by Scott Lahteine
parent 535018ef0e
commit eb3a3d249e

@ -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