|
@@ -978,17 +978,13 @@ static void lcd_status_screen() {
|
978
|
978
|
// Note: During Manual Bed Leveling the homed Z position is MESH_HOME_SEARCH_Z
|
979
|
979
|
// Z position will be restored with the final action, a G28
|
980
|
980
|
inline void _mbl_goto_xy(float x, float y) {
|
981
|
|
- current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
|
982
|
|
- #if MIN_Z_HEIGHT_FOR_HOMING > 0
|
983
|
|
- + MIN_Z_HEIGHT_FOR_HOMING
|
984
|
|
- #endif
|
985
|
|
- ;
|
|
981
|
+ current_position[Z_AXIS] = MESH_HOME_SEARCH_Z + MIN_Z_HEIGHT_FOR_HOMING;
|
986
|
982
|
line_to_current(Z_AXIS);
|
987
|
983
|
current_position[X_AXIS] = x + home_offset[X_AXIS];
|
988
|
984
|
current_position[Y_AXIS] = y + home_offset[Y_AXIS];
|
989
|
985
|
line_to_current(manual_feedrate[X_AXIS] <= manual_feedrate[Y_AXIS] ? X_AXIS : Y_AXIS);
|
990
|
986
|
#if MIN_Z_HEIGHT_FOR_HOMING > 0
|
991
|
|
- current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
|
|
987
|
+ current_position[Z_AXIS] = MESH_HOME_SEARCH_Z; // How do condition and action match?
|
992
|
988
|
line_to_current(Z_AXIS);
|
993
|
989
|
#endif
|
994
|
990
|
stepper.synchronize();
|
|
@@ -1038,11 +1034,7 @@ static void lcd_status_screen() {
|
1038
|
1034
|
if (_lcd_level_bed_position == (MESH_NUM_X_POINTS) * (MESH_NUM_Y_POINTS)) {
|
1039
|
1035
|
lcd_goto_screen(_lcd_level_bed_done, true);
|
1040
|
1036
|
|
1041
|
|
- current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
|
1042
|
|
- #if MIN_Z_HEIGHT_FOR_HOMING > 0
|
1043
|
|
- + MIN_Z_HEIGHT_FOR_HOMING
|
1044
|
|
- #endif
|
1045
|
|
- ;
|
|
1037
|
+ current_position[Z_AXIS] = MESH_HOME_SEARCH_Z + MIN_Z_HEIGHT_FOR_HOMING;
|
1046
|
1038
|
line_to_current(Z_AXIS);
|
1047
|
1039
|
stepper.synchronize();
|
1048
|
1040
|
|