mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-10-28 00:36:10 +01:00
probe: Initial support for Z-Probe hardware
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user