aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/bltouch.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-12-14 11:45:16 -0500
committerKevin O'Connor <kevin@koconnor.net>2018-12-16 11:06:46 -0500
commitd0f09727a95ce8809b3625d0f13d87918b5848fb (patch)
treeacd34d768b126aa3d68349b1f13442103bfa1c2d /klippy/extras/bltouch.py
parentccc25a03d5fc4a17f7112e2b343335aa71a48faf (diff)
downloadkutter-d0f09727a95ce8809b3625d0f13d87918b5848fb.tar.gz
kutter-d0f09727a95ce8809b3625d0f13d87918b5848fb.tar.xz
kutter-d0f09727a95ce8809b3625d0f13d87918b5848fb.zip
bltouch: Issue both a "reset" and a "pin_up" after a successful probe
Not all BLTouch clones raise the pin on a "reset" request, so explicitly send a "pin_up" command. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/bltouch.py')
-rw-r--r--klippy/extras/bltouch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/extras/bltouch.py b/klippy/extras/bltouch.py
index 58a78ca4..e5a170ce 100644
--- a/klippy/extras/bltouch.py
+++ b/klippy/extras/bltouch.py
@@ -98,7 +98,8 @@ class BLTouchEndstopWrapper:
toolhead = self.printer.lookup_object('toolhead')
print_time = toolhead.get_last_move_time()
self.send_cmd(print_time, 'reset')
- self.send_cmd(print_time + self.pin_move_time, None)
+ self.send_cmd(print_time + MIN_CMD_TIME, 'pin_up')
+ self.send_cmd(print_time + MIN_CMD_TIME + self.pin_move_time, None)
toolhead.dwell(self.pin_move_time + MIN_CMD_TIME)
self.mcu_endstop.home_finalize()
def home_start(self, print_time, sample_time, sample_count, rest_time):