Skip to content

Fix Z_DUAL_ENDSTOPS with Z MIN Homing #4562

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

Merged

Conversation

thinkyhead
Copy link
Member

Addressing #4531

The conditional code for Z_DUAL_ENDSTOPS is broken, apparently…

  • It presumes max homing only, forgetting to include a case for min homing. As a result, Z_DUAL_ENDSTOPS fails to work for this case.
  • It mistakenly #undefs the USE_*_PLUG that the endstop needs, so it's possible that the endstop pin is set to -1 retroactively (as the pre-compiler does tricky management of out-of-order inter-dependent defines).

This PR corrects these conditionals in the hope that it will restore this feature to working order. Please test!

@thinkyhead thinkyhead force-pushed the rc_fix_z_dual_endstops branch from dd4a361 to 462e189 Compare August 8, 2016 00:43
@thinkyhead thinkyhead merged commit 67c4acf into MarlinFirmware:RCBugFix Aug 8, 2016
@thinkyhead thinkyhead deleted the rc_fix_z_dual_endstops branch August 8, 2016 02:23
@jbrazio jbrazio modified the milestone: 1.1.0 Aug 11, 2016
@thinkyhead thinkyhead mentioned this pull request Oct 24, 2016
drewmoseley pushed a commit to drewmoseley/Marlin that referenced this pull request May 31, 2024
…uto_home_layer_shift

PFW-1551: Fix Pause->Tune->Auto Home layer shift
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.

2 participants