aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/kinematics/polar.py
diff options
context:
space:
mode:
authorArksine <arksine.code@gmail.com>2020-08-05 05:13:09 -0400
committerKevin O'Connor <kevin@koconnor.net>2020-08-06 14:31:42 -0400
commit3eefc037c5ffbef5dbb4d40baa89bee6d0f98473 (patch)
tree5d5ec38feed67d1eee4182bb3fde64dc1d9f9953 /klippy/kinematics/polar.py
parent27ef58642eab2703e37ee23b92296619214533e1 (diff)
downloadkutter-3eefc037c5ffbef5dbb4d40baa89bee6d0f98473.tar.gz
kutter-3eefc037c5ffbef5dbb4d40baa89bee6d0f98473.tar.xz
kutter-3eefc037c5ffbef5dbb4d40baa89bee6d0f98473.zip
polar: fix limit_z default value
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Diffstat (limited to 'klippy/kinematics/polar.py')
-rw-r--r--klippy/kinematics/polar.py4
1 files 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