Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Correct bitmask/bool mixup for STM32 probe pin #143

Merged
merged 1 commit into from
Dec 18, 2020

Conversation

StefanBruens
Copy link
Contributor

probe_invert is a bool value. Trying to invert its value by xor'ing with
a bitmask is prone to fail (dependent on the actual value of the
PROBE_BIT bitmask).

Fixes non-working tool change operations with e.g. bCNC (which always
uses both G38.2 and G38.4).

probe_invert is a bool value. Trying to invert its value by xor'ing with
a bitmask is prone to fail (dependent on the actual value of the
PROBE_BIT bitmask).

Fixes non-working tool change operations with e.g. bCNC (which always
uses both G38.2 and G38.4).
@terjeio terjeio merged commit 2569bb2 into terjeio:master Dec 18, 2020
@terjeio
Copy link
Owner

terjeio commented Dec 18, 2020

Thanks, I'll merge this as a temporary fix as there are other changes related to probing in the pipeline that I am going to implement across drivers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants