|
|
|
|
1038
|
|
1038
|
|
1039
|
|
1039
|
|
1040
|
inline void _mbl_goto_xy(float x, float y) {
|
1040
|
inline void _mbl_goto_xy(float x, float y) {
|
1041
|
- current_position[Z_AXIS] = MESH_HOME_SEARCH_Z + Z_HOMING_HEIGHT;
|
1041
|
+ current_position[Z_AXIS] = LOGICAL_Z_POSITION(MESH_HOME_SEARCH_Z + Z_HOMING_HEIGHT);
|
1042
|
line_to_current(Z_AXIS);
|
1042
|
line_to_current(Z_AXIS);
|
1043
|
- current_position[X_AXIS] = x + home_offset[X_AXIS];
|
1043
|
+ current_position[X_AXIS] = LOGICAL_X_POSITION(x);
|
1044
|
- current_position[Y_AXIS] = y + home_offset[Y_AXIS];
|
1044
|
+ current_position[Y_AXIS] = LOGICAL_Y_POSITION(y);
|
1045
|
line_to_current(manual_feedrate_mm_m[X_AXIS] <= manual_feedrate_mm_m[Y_AXIS] ? X_AXIS : Y_AXIS);
|
1045
|
line_to_current(manual_feedrate_mm_m[X_AXIS] <= manual_feedrate_mm_m[Y_AXIS] ? X_AXIS : Y_AXIS);
|
1046
|
#if Z_HOMING_HEIGHT > 0
|
1046
|
#if Z_HOMING_HEIGHT > 0
|
1047
|
- current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
|
1047
|
+ current_position[Z_AXIS] = LOGICAL_Z_POSITION(MESH_HOME_SEARCH_Z);
|
1048
|
line_to_current(Z_AXIS);
|
1048
|
line_to_current(Z_AXIS);
|
1049
|
#endif
|
1049
|
#endif
|
1050
|
stepper.synchronize();
|
1050
|
stepper.synchronize();
|