Solve endstops issues (#12382)
- Partially reverts #11900 and tries to solve #12336
This commit is contained in:
committed by
Scott Lahteine
parent
78ccedd6a8
commit
fd7fd55662
@ -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
|
||||
|
Reference in New Issue
Block a user