grblHAL / Plugin_keypad

grblHAL keypad plugin
Other
7 stars 6 forks source link

Home doesn't work with $22=5 #11

Closed pimsierhuis closed 6 months ago

pimsierhuis commented 6 months ago

It seems that if you enable "homing on startup required" (bit 2 of $22), you can't home by sending the H-char over the serial channel to the keypad-plugin.

This is a problem for our use-case where we:

terjeio commented 6 months ago

Try with changing this line to: (state_get() == STATE_IDLE || (state_get() & (STATE_ALARM|STATE_JOG|STATE_TOOL_CHANGE))) &&

terjeio commented 6 months ago

I have committed an update with the above change so I am closing this. Reopen if the issue still persists.

pimsierhuis commented 6 months ago

Thanks, great. Already figured out how to compile ourselves, but can't test until tuesday night..

pimsierhuis commented 6 months ago

Tested this and it works. Thanks for the fast fix!