diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-03-29 13:34:25 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-03-29 21:20:57 -0400 |
commit | 37a263c0b94fd77197a8c053ce08e4f6e8c17407 (patch) | |
tree | fea96858757fc1c43e88d23234b32ea0fa1f0413 /klippy/extras/bltouch.py | |
parent | 38719c13597b9fabbb444a313d66bfc697d7cac8 (diff) | |
download | kutter-37a263c0b94fd77197a8c053ce08e4f6e8c17407.tar.gz kutter-37a263c0b94fd77197a8c053ce08e4f6e8c17407.tar.xz kutter-37a263c0b94fd77197a8c053ce08e4f6e8c17407.zip |
homing: Move homing logic from manual_stepper.py to homing.py
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/bltouch.py')
-rw-r--r-- | klippy/extras/bltouch.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/klippy/extras/bltouch.py b/klippy/extras/bltouch.py index e754f93f..c8deee4b 100644 --- a/klippy/extras/bltouch.py +++ b/klippy/extras/bltouch.py @@ -195,10 +195,11 @@ class BLTouchEndstopWrapper: for s, mcu_pos in self.start_mcu_pos: if s.get_mcu_position() == mcu_pos: raise self.printer.command_error("BLTouch failed to deploy") - def home_start(self, print_time, sample_time, sample_count, rest_time): + def home_start(self, print_time, sample_time, sample_count, rest_time, + triggered=True): rest_time = min(rest_time, ENDSTOP_REST_TIME) return self.mcu_endstop.home_start(print_time, sample_time, - sample_count, rest_time) + sample_count, rest_time, triggered) def get_position_endstop(self): return self.position_endstop def set_output_mode(self, mode): |