|
@@ -118,6 +118,7 @@ float zprobe_zoffset; // Initialized by settings.load()
|
118
|
118
|
#endif
|
119
|
119
|
|
120
|
120
|
#if ENABLED(TOUCH_MI_MANUAL_DEPLOY)
|
|
121
|
+
|
121
|
122
|
const screenFunc_t prev_screen = ui.currentScreen;
|
122
|
123
|
LCD_MESSAGEPGM(MSG_MANUAL_DEPLOY_TOUCHMI);
|
123
|
124
|
ui.return_to_status();
|
|
@@ -130,10 +131,11 @@ float zprobe_zoffset; // Initialized by settings.load()
|
130
|
131
|
while (wait_for_user) idle();
|
131
|
132
|
ui.reset_status();
|
132
|
133
|
ui.goto_screen(prev_screen);
|
133
|
|
- #else
|
134
|
|
- #ifdef TOUCH_MI_DEPLOY_XPOS
|
135
|
|
- do_blocking_move_to_x(TOUCH_MI_DEPLOY_XPOS);
|
136
|
|
- #endif
|
|
134
|
+
|
|
135
|
+ #elif defined(TOUCH_MI_DEPLOY_XPOS)
|
|
136
|
+
|
|
137
|
+ do_blocking_move_to_x(TOUCH_MI_DEPLOY_XPOS);
|
|
138
|
+
|
137
|
139
|
#endif
|
138
|
140
|
}
|
139
|
141
|
|