Touch Mi: Add magnet Y position (#15166)
This commit is contained in:
@ -116,6 +116,9 @@ float zprobe_zoffset; // Initialized by settings.load()
|
||||
#if TOUCH_MI_DEPLOY_XPOS > X_MAX_BED
|
||||
TemporaryGlobalEndstopsState unlock_x(false);
|
||||
#endif
|
||||
#if TOUCH_MI_DEPLOY_YPOS > Y_MAX_BED
|
||||
TemporaryGlobalEndstopsState unlock_y(false);
|
||||
#endif
|
||||
|
||||
#if ENABLED(TOUCH_MI_MANUAL_DEPLOY)
|
||||
|
||||
@ -132,10 +135,12 @@ float zprobe_zoffset; // Initialized by settings.load()
|
||||
ui.reset_status();
|
||||
ui.goto_screen(prev_screen);
|
||||
|
||||
#elif defined(TOUCH_MI_DEPLOY_XPOS) && defined(TOUCH_MI_DEPLOY_YPOS)
|
||||
do_blocking_move_to_xy(TOUCH_MI_DEPLOY_XPOS, TOUCH_MI_DEPLOY_YPOS);
|
||||
#elif defined(TOUCH_MI_DEPLOY_XPOS)
|
||||
|
||||
do_blocking_move_to_x(TOUCH_MI_DEPLOY_XPOS);
|
||||
|
||||
#elif defined(TOUCH_MI_DEPLOY_YPOS)
|
||||
do_blocking_move_to_y(TOUCH_MI_DEPLOY_YPOS);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user