|
@@ -116,6 +116,9 @@ float zprobe_zoffset; // Initialized by settings.load()
|
116
|
116
|
#if TOUCH_MI_DEPLOY_XPOS > X_MAX_BED
|
117
|
117
|
TemporaryGlobalEndstopsState unlock_x(false);
|
118
|
118
|
#endif
|
|
119
|
+ #if TOUCH_MI_DEPLOY_YPOS > Y_MAX_BED
|
|
120
|
+ TemporaryGlobalEndstopsState unlock_y(false);
|
|
121
|
+ #endif
|
119
|
122
|
|
120
|
123
|
#if ENABLED(TOUCH_MI_MANUAL_DEPLOY)
|
121
|
124
|
|
|
@@ -132,10 +135,12 @@ float zprobe_zoffset; // Initialized by settings.load()
|
132
|
135
|
ui.reset_status();
|
133
|
136
|
ui.goto_screen(prev_screen);
|
134
|
137
|
|
|
138
|
+ #elif defined(TOUCH_MI_DEPLOY_XPOS) && defined(TOUCH_MI_DEPLOY_YPOS)
|
|
139
|
+ do_blocking_move_to_xy(TOUCH_MI_DEPLOY_XPOS, TOUCH_MI_DEPLOY_YPOS);
|
135
|
140
|
#elif defined(TOUCH_MI_DEPLOY_XPOS)
|
136
|
|
-
|
137
|
141
|
do_blocking_move_to_x(TOUCH_MI_DEPLOY_XPOS);
|
138
|
|
-
|
|
142
|
+ #elif defined(TOUCH_MI_DEPLOY_YPOS)
|
|
143
|
+ do_blocking_move_to_y(TOUCH_MI_DEPLOY_YPOS);
|
139
|
144
|
#endif
|
140
|
145
|
}
|
141
|
146
|
|