diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-06-21 14:33:55 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-06-22 14:09:01 -0400 |
commit | 544f8c1e8567db6b4fe62c0b2539a7b2efcd4b68 (patch) | |
tree | 3b474d0858e3bef5fb7518f04bac63cdef5fc5f0 /klippy/extras/z_tilt.py | |
parent | d0590ccb0e63390418229936930c94c8e19fcfe1 (diff) | |
download | kutter-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.py | 2 |
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) |