protoloft / klipper_z_calibration

Klipper plugin for self-calibrating z-offset
GNU General Public License v3.0
1.06k stars 152 forks source link

fix: Use probe-manager for zero ref #149

Closed cloakedcode closed 3 months ago

cloakedcode commented 5 months ago

With recent changes to Klipper's probe.py, the location of some attributes has changed, in this case, the accessing of [probe] zero_reference_position.

Before this change, setting only the [probe] zero_reference_position and not passing BED_POSITION to CALIBRATE_Z or defining the config option, an error would be thrown saying "Cannot find the bed position!".

mojeto commented 4 months ago

I have tested this code change on my printer and it works as expected. If merged it fixes https://github.com/protoloft/klipper_z_calibration/issues/148

TitusLabs commented 3 months ago

Sorry, I have not seen this. Nice work :+1: