From 3eefc037c5ffbef5dbb4d40baa89bee6d0f98473 Mon Sep 17 00:00:00 2001 From: Arksine Date: Wed, 5 Aug 2020 05:13:09 -0400 Subject: [PATCH] polar: fix limit_z default value Signed-off-by: Eric Callahan --- klippy/kinematics/polar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/klippy/kinematics/polar.py b/klippy/kinematics/polar.py index e3ee3241..904ccf55 100644 --- a/klippy/kinematics/polar.py +++ b/klippy/kinematics/polar.py @@ -30,7 +30,7 @@ class PolarKinematics: 'max_z_velocity', max_velocity, above=0., maxval=max_velocity) self.max_z_accel = config.getfloat( 'max_z_accel', max_accel, above=0., maxval=max_accel) - self.limit_z = [(1.0, -1.0)] + self.limit_z = (1.0, -1.0) self.limit_xy2 = -1. # Setup stepper max halt velocity max_halt_velocity = toolhead.get_max_axis_halt() @@ -87,7 +87,7 @@ class PolarKinematics: if home_z: self._home_axis(homing_state, 2, self.rails[1]) def _motor_off(self, print_time): - self.limit_z = [(1.0, -1.0)] + self.limit_z = (1.0, -1.0) self.limit_xy2 = -1. def check_move(self, move): end_pos = move.end_pos