|
@@ -3522,7 +3522,7 @@ inline void gcode_G28() {
|
3522
|
3522
|
|
3523
|
3523
|
inline void _mbl_goto_xy(float x, float y) {
|
3524
|
3524
|
float old_feedrate_mm_s = feedrate_mm_s;
|
3525
|
|
- feedrate_mm_s = homing_feedrate_mm_s[X_AXIS];
|
|
3525
|
+ feedrate_mm_s = homing_feedrate_mm_s[Z_AXIS];
|
3526
|
3526
|
|
3527
|
3527
|
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
|
3528
|
3528
|
#if Z_CLEARANCE_BETWEEN_PROBES > Z_HOMING_HEIGHT
|
|
@@ -3533,11 +3533,13 @@ inline void gcode_G28() {
|
3533
|
3533
|
;
|
3534
|
3534
|
line_to_current_position();
|
3535
|
3535
|
|
|
3536
|
+ feedrate_mm_s = MMM_TO_MMS(XY_PROBE_SPEED);
|
3536
|
3537
|
current_position[X_AXIS] = LOGICAL_X_POSITION(x);
|
3537
|
3538
|
current_position[Y_AXIS] = LOGICAL_Y_POSITION(y);
|
3538
|
3539
|
line_to_current_position();
|
3539
|
3540
|
|
3540
|
3541
|
#if Z_CLEARANCE_BETWEEN_PROBES > 0 || Z_HOMING_HEIGHT > 0
|
|
3542
|
+ feedrate_mm_s = homing_feedrate_mm_s[Z_AXIS];
|
3541
|
3543
|
current_position[Z_AXIS] = LOGICAL_Z_POSITION(MESH_HOME_SEARCH_Z);
|
3542
|
3544
|
line_to_current_position();
|
3543
|
3545
|
#endif
|