Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix IDEX X2 Direction #26958

Merged

Conversation

InsanityAutomation
Copy link
Contributor

With IDEX enabled and INVERT_X_DIR set to true, X2 moved the wrong direction. The direction write macro now relies on INVERT_X2_DIR to be set independently from X. This checks if the value is not set, and defines it to match X1 if not.

Also added a sanity check in order to prevent misconfiguration as noted in #26915 where X1 was configured to allow travel beyond the X2 park point.

@sjasonsmith sjasonsmith merged commit 2715e5b into MarlinFirmware:bugfix-2.1.x Apr 13, 2024
61 checks passed
@InsanityAutomation InsanityAutomation deleted the FixIDEXX2Dir branch April 22, 2024 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants