From ce9db609ad6f0f99c171b643464fe1e6963ec6c6 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 6 Dec 2017 01:00:33 -0500 Subject: probe: Initial support for Z-Probe hardware Signed-off-by: Kevin O'Connor --- klippy/mcu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/mcu.py') diff --git a/klippy/mcu.py b/klippy/mcu.py index c4f9d969..40fcbad7 100644 --- a/klippy/mcu.py +++ b/klippy/mcu.py @@ -99,7 +99,7 @@ class MCU_stepper: pos = params['pos'] if self._invert_dir: pos = -pos - self._mcu_position_offset = pos - self._commanded_pos + self._commanded_pos = pos - self._mcu_position_offset def step(self, print_time, sdir): count = self._ffi_lib.stepcompress_push( self._stepqueue, print_time, sdir) -- cgit v1.2.3-70-g09d2