|
@@ -893,10 +893,12 @@ void lcd_cooldown() {
|
893
|
893
|
// Z position will be restored with the final action, a G28
|
894
|
894
|
inline void _mbl_goto_xy(float x, float y) {
|
895
|
895
|
mbl_wait_for_move = true;
|
896
|
|
- #if MIN_Z_HEIGHT_FOR_HOMING > 0
|
897
|
|
- current_position[Z_AXIS] += MIN_Z_HEIGHT_FOR_HOMING;
|
898
|
|
- line_to_current(Z_AXIS);
|
899
|
|
- #endif
|
|
896
|
+ current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
|
|
897
|
+ #if MIN_Z_HEIGHT_FOR_HOMING > 0
|
|
898
|
+ + MIN_Z_HEIGHT_FOR_HOMING
|
|
899
|
+ #endif
|
|
900
|
+ ;
|
|
901
|
+ line_to_current(Z_AXIS);
|
900
|
902
|
current_position[X_AXIS] = x + home_offset[X_AXIS];
|
901
|
903
|
current_position[Y_AXIS] = y + home_offset[Y_AXIS];
|
902
|
904
|
line_to_current(manual_feedrate[X_AXIS] <= manual_feedrate[Y_AXIS] ? X_AXIS : Y_AXIS);
|