Planner: do not recalculate max_adv_steps, since it doesn't change
This commit is contained in:
parent
2c8e04bd5f
commit
9425b6b07a
@ -404,7 +404,6 @@ void planner_recalculate(const float &safe_final_speed)
|
|||||||
#ifdef LIN_ADVANCE
|
#ifdef LIN_ADVANCE
|
||||||
if (prev->use_advance_lead) {
|
if (prev->use_advance_lead) {
|
||||||
const float comp = prev->e_D_ratio * extruder_advance_K * cs.axis_steps_per_unit[E_AXIS];
|
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;
|
prev->final_adv_steps = current->entry_speed * comp;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user