jlas1 / Klicky-Probe

Microswitch probe with magnetic attachement, primarily aimed at CoreXY 3d printers
GNU General Public License v3.0
1.22k stars 279 forks source link

Avoid excess docking between z-tilt-adjust and rehoming z axis #257

Open MartijnGevaert opened 3 months ago

MartijnGevaert commented 3 months ago

Greetings, I noticed with the klicky macros, the probe is docked after _Z_TILT_ADJUST, and then immediately undocked to rehome Z-axis. simply moving the rehoming of the Z-Axis before docking avoids this unnecessary docking/undocking.

jlas1 commented 2 weeks ago

That happens with a virtual probe, with an actual Z endstop, it's safer this way. If we check if the probe is being used as a virtual z endstop, then it makes sense.

MartijnGevaert commented 1 week ago

I'm not sure how that would be done, I'll leave this with you then. Feel free to close if you want.