|
@@ -1050,11 +1050,16 @@ static void run_z_probe() {
|
1050
|
1050
|
static void do_blocking_move_to(float x, float y, float z) {
|
1051
|
1051
|
float oldFeedRate = feedrate;
|
1052
|
1052
|
|
|
1053
|
+ feedrate = homing_feedrate[Z_AXIS];
|
|
1054
|
+
|
|
1055
|
+ current_position[Z_AXIS] = z;
|
|
1056
|
+ plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], feedrate/60, active_extruder);
|
|
1057
|
+ st_synchronize();
|
|
1058
|
+
|
1053
|
1059
|
feedrate = XY_TRAVEL_SPEED;
|
1054
|
1060
|
|
1055
|
1061
|
current_position[X_AXIS] = x;
|
1056
|
1062
|
current_position[Y_AXIS] = y;
|
1057
|
|
- current_position[Z_AXIS] = z;
|
1058
|
1063
|
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], feedrate/60, active_extruder);
|
1059
|
1064
|
st_synchronize();
|
1060
|
1065
|
|