|
@@ -870,19 +870,19 @@ namespace ExtUI {
|
870
|
870
|
const feedRate_t old_feedrate = feedrate_mm_s;
|
871
|
871
|
const float x_target = MESH_MIN_X + pos.x * (MESH_X_DIST),
|
872
|
872
|
y_target = MESH_MIN_Y + pos.y * (MESH_Y_DIST);
|
873
|
|
- if (x_target != current_position[X_AXIS] || y_target != current_position[Y_AXIS]) {
|
|
873
|
+ if (x_target != current_position.x || y_target != current_position.y) {
|
874
|
874
|
// If moving across bed, raise nozzle to safe height over bed
|
875
|
875
|
feedrate_mm_s = Z_PROBE_FEEDRATE_FAST;
|
876
|
876
|
destination = current_position;
|
877
|
|
- destination[Z_AXIS] = Z_CLEARANCE_BETWEEN_PROBES;
|
|
877
|
+ destination.z = Z_CLEARANCE_BETWEEN_PROBES;
|
878
|
878
|
prepare_line_to_destination();
|
879
|
879
|
feedrate_mm_s = XY_PROBE_FEEDRATE;
|
880
|
|
- destination[X_AXIS] = x_target;
|
881
|
|
- destination[Y_AXIS] = y_target;
|
|
880
|
+ destination.x = x_target;
|
|
881
|
+ destination.y = y_target;
|
882
|
882
|
prepare_line_to_destination();
|
883
|
883
|
}
|
884
|
884
|
feedrate_mm_s = Z_PROBE_FEEDRATE_FAST;
|
885
|
|
- destination[Z_AXIS] = z;
|
|
885
|
+ destination.z = z;
|
886
|
886
|
prepare_line_to_destination();
|
887
|
887
|
feedrate_mm_s = old_feedrate;
|
888
|
888
|
#else
|