|
@@ -1057,11 +1057,16 @@ static void run_z_probe() {
|
1057
|
1057
|
static void do_blocking_move_to(float x, float y, float z) {
|
1058
|
1058
|
float oldFeedRate = feedrate;
|
1059
|
1059
|
|
|
1060
|
+ feedrate = homing_feedrate[Z_AXIS];
|
|
1061
|
+
|
|
1062
|
+ current_position[Z_AXIS] = z;
|
|
1063
|
+ plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], feedrate/60, active_extruder);
|
|
1064
|
+ st_synchronize();
|
|
1065
|
+
|
1060
|
1066
|
feedrate = XY_TRAVEL_SPEED;
|
1061
|
1067
|
|
1062
|
1068
|
current_position[X_AXIS] = x;
|
1063
|
1069
|
current_position[Y_AXIS] = y;
|
1064
|
|
- current_position[Z_AXIS] = z;
|
1065
|
1070
|
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], feedrate/60, active_extruder);
|
1066
|
1071
|
st_synchronize();
|
1067
|
1072
|
|