|
@@ -936,12 +936,10 @@ namespace ExtUI {
|
936
|
936
|
if (x_target != current_position.x || y_target != current_position.y) {
|
937
|
937
|
// If moving across bed, raise nozzle to safe height over bed
|
938
|
938
|
feedrate_mm_s = Z_PROBE_FEEDRATE_FAST;
|
939
|
|
- destination = current_position;
|
940
|
|
- destination.z = Z_CLEARANCE_BETWEEN_PROBES;
|
|
939
|
+ destination.set(current_position.x, current_position.y, Z_CLEARANCE_BETWEEN_PROBES);
|
941
|
940
|
prepare_line_to_destination();
|
942
|
941
|
feedrate_mm_s = XY_PROBE_FEEDRATE;
|
943
|
|
- destination.x = x_target;
|
944
|
|
- destination.y = y_target;
|
|
942
|
+ destination.set(x_target, y_target);
|
945
|
943
|
prepare_line_to_destination();
|
946
|
944
|
}
|
947
|
945
|
feedrate_mm_s = Z_PROBE_FEEDRATE_FAST;
|