fix_planner_refresh_e_positioning (#7103)
* fix_planner_refresh_e_positioning * Fix
This commit is contained in:
parent
41bfff14e2
commit
d26c8cc5c8
@ -3199,16 +3199,16 @@ void kill_screen(const char* lcd_msg) {
|
|||||||
if (e == active_extruder)
|
if (e == active_extruder)
|
||||||
_planner_refresh_positioning();
|
_planner_refresh_positioning();
|
||||||
else
|
else
|
||||||
planner.steps_to_mm[e] = 1.0 / planner.axis_steps_per_mm[e];
|
planner.steps_to_mm[E_AXIS + e] = 1.0 / planner.axis_steps_per_mm[E_AXIS + e];
|
||||||
}
|
}
|
||||||
void _planner_refresh_e0_positioning() { _reset_e_acceleration_rate(0); }
|
void _planner_refresh_e0_positioning() { _planner_refresh_e_positioning(0); }
|
||||||
void _planner_refresh_e1_positioning() { _reset_e_acceleration_rate(1); }
|
void _planner_refresh_e1_positioning() { _planner_refresh_e_positioning(1); }
|
||||||
#if E_STEPPERS > 2
|
#if E_STEPPERS > 2
|
||||||
void _planner_refresh_e2_positioning() { _reset_e_acceleration_rate(2); }
|
void _planner_refresh_e2_positioning() { _planner_refresh_e_positioning(2); }
|
||||||
#if E_STEPPERS > 3
|
#if E_STEPPERS > 3
|
||||||
void _planner_refresh_e3_positioning() { _reset_e_acceleration_rate(3); }
|
void _planner_refresh_e3_positioning() { _planner_refresh_e_positioning(3); }
|
||||||
#if E_STEPPERS > 4
|
#if E_STEPPERS > 4
|
||||||
void _planner_refresh_e4_positioning() { _reset_e_acceleration_rate(4); }
|
void _planner_refresh_e4_positioning() { _planner_refresh_e_positioning(4); }
|
||||||
#endif // E_STEPPERS > 4
|
#endif // E_STEPPERS > 4
|
||||||
#endif // E_STEPPERS > 3
|
#endif // E_STEPPERS > 3
|
||||||
#endif // E_STEPPERS > 2
|
#endif // E_STEPPERS > 2
|
||||||
|
Loading…
Reference in New Issue
Block a user