From 94dc8167c9de120744d54403d60f4baf88de3926 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 15 Jul 2018 10:30:27 -0400 Subject: z_tilt: Don't default "points" parameter to "z_positions" parameter It's rare to have all the Z stepper locations directly under the printable surface, so using z_positions for points is not a good default. Signed-off-by: Kevin O'Connor --- klippy/extras/z_tilt.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'klippy/extras/z_tilt.py') diff --git a/klippy/extras/z_tilt.py b/klippy/extras/z_tilt.py index 71d53831..98a1807b 100644 --- a/klippy/extras/z_tilt.py +++ b/klippy/extras/z_tilt.py @@ -18,8 +18,7 @@ class ZTilt: except: raise config.error("Unable to parse z_positions in %s" % ( config.get_name())) - self.probe_helper = probe.ProbePointsHelper( - config, self, default_points=self.z_positions) + self.probe_helper = probe.ProbePointsHelper(config, self) self.z_steppers = [] # Register Z_TILT_ADJUST command self.gcode = self.printer.lookup_object('gcode') -- cgit v1.2.3-70-g09d2