Solve endstops issues (#12382)

- Partially reverts #11900 and tries to solve #12336
This commit is contained in:
Giuliano Zaro
2018-11-09 21:58:04 +01:00
committed by Scott Lahteine
parent 78ccedd6a8
commit fd7fd55662
2 changed files with 17 additions and 19 deletions

View File

@ -1522,6 +1522,20 @@ void homeaxis(const AxisEnum axis) {
}
#endif
// Reset flags for X, Y, Z motor locking
switch (axis) {
#if ENABLED(X_DUAL_ENDSTOPS)
case X_AXIS:
#endif
#if ENABLED(Y_DUAL_ENDSTOPS)
case Y_AXIS:
#endif
#if Z_MULTI_ENDSTOPS
case Z_AXIS:
#endif
stepper.set_separate_multi_axis(false);
default: break;
}
#endif
#if IS_SCARA