Planner: do not recalculate max_adv_steps, since it doesn't change

This commit is contained in:
Yuri D'Elia 2019-05-18 20:10:20 +02:00
parent 2c8e04bd5f
commit 9425b6b07a

View File

@ -404,7 +404,6 @@ void planner_recalculate(const float &safe_final_speed)
#ifdef LIN_ADVANCE
if (prev->use_advance_lead) {
const float comp = prev->e_D_ratio * extruder_advance_K * cs.axis_steps_per_unit[E_AXIS];
prev->max_adv_steps = prev->nominal_speed * comp;
prev->final_adv_steps = current->entry_speed * comp;
}
#endif