diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-03-30 12:32:48 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-04-02 08:25:22 -0400 |
commit | 9f2a0257629b41abe4e47ff986a953bbdb94a4cd (patch) | |
tree | 929840564276fe0b7b41aaa6f4bfee3de3c1c004 /klippy/toolhead.py | |
parent | 2b916e79c761bd91cbfa9135a62743d0270e16ad (diff) | |
download | kutter-9f2a0257629b41abe4e47ff986a953bbdb94a4cd.tar.gz kutter-9f2a0257629b41abe4e47ff986a953bbdb94a4cd.tar.xz kutter-9f2a0257629b41abe4e47ff986a953bbdb94a4cd.zip |
bltouch: Don't assume reset will do a pin_up in test_sensor()
Some clones don't raise the pin on a reset and the ANTClabs BL-Touch
sometimes doesn't raise the pin either.
Rework the (infrequently called) sensor test code to always issue a
pin_up command before the touch command. Also, perform a reset and
retry if the sensor test fails.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/toolhead.py')
0 files changed, 0 insertions, 0 deletions