bugfix: use absolute coordinates for steel sheet removal position, because there is no homing at the beginning of calibration in case that position is already known
This commit is contained in:
parent
a184d2b824
commit
2ffb95c72a
1 changed files with 3 additions and 2 deletions
|
@ -3470,11 +3470,12 @@ void process_commands()
|
|||
if (result)
|
||||
{
|
||||
current_position[Z_AXIS] = 50;
|
||||
current_position[Y_AXIS] += 180;
|
||||
current_position[Y_AXIS] = 180;
|
||||
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 3000 / 60, active_extruder);
|
||||
st_synchronize();
|
||||
lcd_show_fullscreen_message_and_wait_P(MSG_REMOVE_STEEL_SHEET);
|
||||
current_position[Y_AXIS] -= 180;
|
||||
current_position[Y_AXIS] = pgm_read_float(bed_ref_points_4 + 1);
|
||||
current_position[X_AXIS] = pgm_read_float(bed_ref_points_4);
|
||||
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 3000 / 60, active_extruder);
|
||||
st_synchronize();
|
||||
feedrate = homing_feedrate[Z_AXIS] / 10;
|
||||
|
|
Loading…
Reference in a new issue