mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-24 15:14:00 -06:00
mcu: Return time of trigger from home_wait()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
128a2f8cd6
commit
1dc2ab048f
3 changed files with 18 additions and 5 deletions
|
@ -116,7 +116,8 @@ class BLTouchEndstopWrapper:
|
|||
self.mcu_endstop.home_start(self.action_end_time, ENDSTOP_SAMPLE_TIME,
|
||||
ENDSTOP_SAMPLE_COUNT, ENDSTOP_REST_TIME,
|
||||
triggered=triggered)
|
||||
return self.mcu_endstop.home_wait(self.action_end_time + 0.100)
|
||||
trigger_time = self.mcu_endstop.home_wait(self.action_end_time + 0.100)
|
||||
return trigger_time > 0.
|
||||
def raise_probe(self):
|
||||
self.sync_mcu_print_time()
|
||||
if not self.pin_up_not_triggered:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue