Skip to content

SET_ORIGIN_AT_HOME_POS and Soft Limits #540

Discussion options

You must be logged in to vote

This was just by looking at the code (I did not had a chance to test it yet), but I believe this is a bug caused by the logic in boundries check with option SET_ORIGIN_AT_HOME_POS. Try this please.

Open src/hal/kinematic/kinematic_cartesian.c and go to line 164 .
Replace this:
float value = !(g_settings.homing_dir_invert_mask & (1 << i)) ? -axis[i] : axis[i];
By this
float value = !(g_settings.homing_dir_invert_mask & (1 << i)) ? axis[i] : -axis[i];

Please let me know if it fixes the issue.
Once again thank you for reporting this.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mvackel
Comment options

@Paciente8159
Comment options

@Paciente8159
Comment options

Answer selected by Paciente8159
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants