CoreYX/YZ/ZX needs different endstop logic than CoreXY/YZ/XZ

In the endstop testing section, add the "reverse" logic in addition to "normal" core handling.

In CoreXY/YZ/XZ steppers rotating the same direction gives X movement. Opposing directions produces Y movement.

In CoreYX/ZY/ZX this is reversed. Same = Y, Opposite = X.

----

Fixes the issue where the Y endstop was being checked when moving in the X direction, etc.
This commit is contained in:
Bob-the-Kuhn
2017-02-21 21:42:52 -06:00
committed by Scott Lahteine
parent 493e738575
commit c5e08e8761
2 changed files with 30 additions and 14 deletions

View File

@@ -226,10 +226,10 @@ script:
- opt_enable COREXY
- build_marlin
#
# Enable COREXZ
# Enable COREYX (swapped)
#
- restore_configs
- opt_enable COREXZ
- opt_enable COREYX
- build_marlin
#
# Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS