Use E_AXIS_N where it makes sense

This commit is contained in:
Scott Lahteine committed 2019-01-11 19:42:34 -06:00
1 parent 0d30ccf767
commit 19fea772e5
4 files changed
+6 -6

No files matched your search

+1 -1
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); }