|
|
|
@ -3515,7 +3515,7 @@ inline void gcode_G28() {
|
|
|
|
|
|
|
|
|
|
inline void _mbl_goto_xy(float x, float y) {
|
|
|
|
|
float old_feedrate_mm_s = feedrate_mm_s;
|
|
|
|
|
feedrate_mm_s = homing_feedrate_mm_s[X_AXIS];
|
|
|
|
|
feedrate_mm_s = homing_feedrate_mm_s[Z_AXIS];
|
|
|
|
|
|
|
|
|
|
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
|
|
|
|
|
#if Z_CLEARANCE_BETWEEN_PROBES > Z_HOMING_HEIGHT
|
|
|
|
@ -3526,11 +3526,13 @@ inline void gcode_G28() {
|
|
|
|
|
;
|
|
|
|
|
line_to_current_position();
|
|
|
|
|
|
|
|
|
|
feedrate_mm_s = MMM_TO_MMS(XY_PROBE_SPEED);
|
|
|
|
|
current_position[X_AXIS] = LOGICAL_X_POSITION(x);
|
|
|
|
|
current_position[Y_AXIS] = LOGICAL_Y_POSITION(y);
|
|
|
|
|
line_to_current_position();
|
|
|
|
|
|
|
|
|
|
#if Z_CLEARANCE_BETWEEN_PROBES > 0 || Z_HOMING_HEIGHT > 0
|
|
|
|
|
feedrate_mm_s = homing_feedrate_mm_s[Z_AXIS];
|
|
|
|
|
current_position[Z_AXIS] = LOGICAL_Z_POSITION(MESH_HOME_SEARCH_Z);
|
|
|
|
|
line_to_current_position();
|
|
|
|
|
#endif
|
|
|
|
|