Use E_AXIS_N where it makes sense

This commit is contained in:
Scott Lahteine
2019-01-11 19:37:20 -06:00
parent 0d30ccf767
commit 19fea772e5
4 changed files with 6 additions and 6 deletions

View File

@ -368,7 +368,7 @@ void menu_advanced_temperature() {
if (e == active_extruder)
_planner_refresh_positioning();
else
planner.steps_to_mm[E_AXIS + e] = 1.0f / planner.settings.axis_steps_per_mm[E_AXIS + e];
planner.steps_to_mm[E_AXIS_N(e)] = 1.0f / planner.settings.axis_steps_per_mm[E_AXIS_N(e)];
}
void _planner_refresh_e0_positioning() { _planner_refresh_e_positioning(0); }
void _planner_refresh_e1_positioning() { _planner_refresh_e_positioning(1); }