|
|
|
@ -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,8 +127,10 @@ float zprobe_zoffset; // Initialized by settings.load()
|
|
|
|
|
ui.reset_status();
|
|
|
|
|
ui.goto_screen(prev_screen);
|
|
|
|
|
#else
|
|
|
|
|
#ifdef TOUCH_MI_DEPLOY_XPOS
|
|
|
|
|
do_blocking_move_to_x(TOUCH_MI_DEPLOY_XPOS);
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Move down to the bed to stow the probe
|
|
|
|
|