From c6013c86af285bc70104074fc609e024ce324e6a Mon Sep 17 00:00:00 2001 From: 0xD34D Date: Fri, 14 Jun 2024 23:11:35 -0700 Subject: [PATCH] [prtouch] invert z-offset before saving --- klippy/extras/prtouch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/extras/prtouch.py b/klippy/extras/prtouch.py index eea262b13689..77bffee99779 100644 --- a/klippy/extras/prtouch.py +++ b/klippy/extras/prtouch.py @@ -375,7 +375,7 @@ def probe_by_step(self, rdy_pos, speed_mm, min_dis_mm, min_hold, max_hold, up_af def probe_calibrate_finalize(self, kin_pos): if kin_pos is None: return - z_offset = kin_pos[2] + z_offset = -kin_pos[2] probe_name = self.cfg.probe_name gcode = self.obj.printer.lookup_object('gcode') gcode.respond_info(