MaR::180501b
This commit is contained in:
parent
d02333918f
commit
8a92d9b6a3
1 changed files with 8 additions and 4 deletions
|
@ -3537,8 +3537,10 @@ void process_commands()
|
|||
st_synchronize();
|
||||
|
||||
bool find_z_result = find_bed_induction_sensor_point_z(-1.f);
|
||||
if(find_z_result == false) lcd_temp_cal_show_result(find_z_result);
|
||||
|
||||
if (find_z_result == false) {
|
||||
lcd_temp_cal_show_result(find_z_result);
|
||||
break;
|
||||
}
|
||||
zero_z = current_position[Z_AXIS];
|
||||
|
||||
//current_position[Z_AXIS]
|
||||
|
@ -3588,8 +3590,10 @@ void process_commands()
|
|||
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();
|
||||
find_z_result = find_bed_induction_sensor_point_z(-1.f);
|
||||
if (find_z_result == false) lcd_temp_cal_show_result(find_z_result);
|
||||
|
||||
if (find_z_result == false) {
|
||||
lcd_temp_cal_show_result(find_z_result);
|
||||
break;
|
||||
}
|
||||
z_shift = (int)((current_position[Z_AXIS] - zero_z)*axis_steps_per_unit[Z_AXIS]);
|
||||
|
||||
SERIAL_ECHOLNPGM("");
|
||||
|
|
Loading…
Reference in a new issue