aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/z_tilt.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-06-21 14:33:55 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-06-22 14:09:01 -0400
commit544f8c1e8567db6b4fe62c0b2539a7b2efcd4b68 (patch)
tree3b474d0858e3bef5fb7518f04bac63cdef5fc5f0 /klippy/extras/z_tilt.py
parentd0590ccb0e63390418229936930c94c8e19fcfe1 (diff)
downloadkutter-544f8c1e8567db6b4fe62c0b2539a7b2efcd4b68.tar.gz
kutter-544f8c1e8567db6b4fe62c0b2539a7b2efcd4b68.tar.xz
kutter-544f8c1e8567db6b4fe62c0b2539a7b2efcd4b68.zip
stepper: Add a get_name() method to PrinterStepper
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/z_tilt.py')
-rw-r--r--klippy/extras/z_tilt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/z_tilt.py b/klippy/extras/z_tilt.py
index 4966a2e3..7b20f387 100644
--- a/klippy/extras/z_tilt.py
+++ b/klippy/extras/z_tilt.py
@@ -83,7 +83,7 @@ class ZTilt:
positions.append((stepper_offset, s))
# Report on movements
msg = "Making the following Z tilt adjustments:\n%s\nz_offset = %.6f" % (
- "\n".join(["%s = %.6f" % (s.name, so) for so, s in positions]),
+ "\n".join(["%s = %.6f" % (s.get_name(), so) for so, s in positions]),
z_adjust - z_offset)
logging.info(msg)
self.gcode.respond_info(msg)