mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-07 15:07:33 -06:00
probe: Initial support for Z-Probe hardware
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
6c252d30f5
commit
ce9db609ad
7 changed files with 91 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue