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:
Kevin O'Connor 2021-03-29 14:23:46 -04:00
parent 37a263c0b9
commit 58a0eb76c5
5 changed files with 22 additions and 22 deletions

View file

@ -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()