added ifdef to allow probe pin to not be defined. Will always indicate not triggered.
评论 (4)
#2 – gflaser-au 于 2018-10-21
That’s probably a good idea. I just needed it to compile when I reassigned the pin to another function.
If a probe cmd is issued it will never get a trigger so that could be less than ideal.
#3 – gflaser-au 于 2018-10-23
updated to only support g38 “Probe” cmds if there is a probe pin defined.
#4 – bdring 于 2018-10-24
Thanks, works great.
#1 – bdring 于 2018-10-20
This looks good. do you it would be a good idea to prevent the probe command too? Is there a risk of damage?