Closed jarney closed 7 months ago
Thanks for reporting this. Fell free to submit a PR.
If not, I will fix this tomorrow. Again thanks for spotting this.
I've just raised a PR. Thanks for providing the software, I'm having a blast setting it up. Fingers crossed, it goes smoothly :)
Merged the PR. Thanks
Describe the bug A clear and concise description of what the bug is.
What is your hardware Describe your hardware:
What was the GCode running No GCode running. Alarm triggers on start-up forcing a re-start because of a (false) trigger of the LIMIT_C bit.
Screenshots N/A
Additional context I was able to trace this down to LIMITS_INV_MASK not correctly inverting the LIMIT_C bit because it was missing from the LIMITS_INV_MASK. Thus when the limit bit is '1', it does NOT invert resulting in a false report of a limit trigger.
Therefore, I propose to add LIMIT_C_MASK to the definition of LIMITS_INV_MASK as follows: