viesturz / klipper-toolchanger

Toolcahnging extension for Klipper
GNU General Public License v3.0
49 stars 16 forks source link

Update tool_probe_endstop.py #21

Closed RNGIllSkillz closed 2 months ago

RNGIllSkillz commented 2 months ago

When you call self.active_probe.get_probe_params(self, gcmd) and start_probe_session(self, gcmd) recursively , it passes self as an additional argument, leading to the "takes from 1 to 2 positional arguments but 3 were given" error.

JuniorGamingTime commented 2 months ago

Seems like that did the trick. I'll close my issue when this is merged.

viesturz commented 2 months ago

Thanks for the fix, I only tested homing, not Quad gantry level.