Add disable_e_steppers function

This commit is contained in:
Scott Lahteine
2017-03-17 21:12:19 -05:00
parent 8eb29f91e6
commit 4c7f14752a
3 changed files with 13 additions and 24 deletions

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