From 33028303652abb7cd1dace64e7406b3207c4987e Mon Sep 17 00:00:00 2001 From: Titus Meyer Date: Sun, 30 May 2021 21:13:52 +0200 Subject: [PATCH] remove get_tag_position() --- z_calibration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/z_calibration.py b/z_calibration.py index c78efae..593d8bb 100644 --- a/z_calibration.py +++ b/z_calibration.py @@ -106,7 +106,8 @@ def handle_home_rails_end(self, homing_state, rails): # get z homing position for rail in rails: if rail.get_steppers()[0].is_active_axis('z'): - self.z_homing = rail.get_tag_position() + kin_spos = homing_state.get_stepper_trigger_positions() + self.z_homing = kin_spos.get(rail.get_name()) # get homing settings from z rail if self.probing_speed is None: self.probing_speed = rail.homing_speed