mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-20 13:17:55 -06:00
homing: Pass the HomingMove class to homing_move_begin/end events
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
37a263c0b9
commit
58a0eb76c5
5 changed files with 22 additions and 22 deletions
|
@ -177,7 +177,7 @@ class BLTouchEndstopWrapper:
|
|||
self.raise_probe()
|
||||
self.sync_print_time()
|
||||
self.multi = 'OFF'
|
||||
def probe_prepare(self):
|
||||
def probe_prepare(self, hmove):
|
||||
if self.multi == 'OFF' or self.multi == 'FIRST':
|
||||
self.lower_probe()
|
||||
if self.multi == 'FIRST':
|
||||
|
@ -187,7 +187,7 @@ class BLTouchEndstopWrapper:
|
|||
toolhead.flush_step_generation()
|
||||
self.start_mcu_pos = [(s, s.get_mcu_position())
|
||||
for s in self.mcu_endstop.get_steppers()]
|
||||
def probe_finish(self):
|
||||
def probe_finish(self, hmove):
|
||||
if self.multi == 'OFF':
|
||||
self.raise_probe()
|
||||
self.sync_print_time()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue