Add disable_e_steppers function

This commit is contained in:
Scott Lahteine committed 2017-03-19 01:14:39 -05:00
1 parent 8eb29f91e6
commit 4c7f14752a
3 files changed
+13 -24

No files matched your search

+1 -6
View File
@@ -450,12 +450,7 @@ void Planner::check_axes_activity() {
if (!axis_active[Z_AXIS]) disable_z();
#endif
#if ENABLED(DISABLE_E)
if (!axis_active[E_AXIS]) {
disable_e0();
disable_e1();
disable_e2();
disable_e3();
}
if (!axis_active[E_AXIS]) disable_e_steppers();
#endif
#if FAN_COUNT > 0