bltouch: Issue just a pin_up command on a normal raise probe attempt
In the normal case, a regular pin_up command should be sufficient to raise the probe. (Should the regular pin_up fail, the code can issue a "reset" command during the retry.) Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -105,7 +105,8 @@ class BLTouchEndstopWrapper:
|
|||||||
def raise_probe(self):
|
def raise_probe(self):
|
||||||
for retry in range(3):
|
for retry in range(3):
|
||||||
self.sync_mcu_print_time()
|
self.sync_mcu_print_time()
|
||||||
self.send_cmd('reset')
|
if retry or not self.pin_up_not_triggered:
|
||||||
|
self.send_cmd('reset')
|
||||||
check_start_time = self.send_cmd('pin_up',
|
check_start_time = self.send_cmd('pin_up',
|
||||||
duration=self.pin_move_time)
|
duration=self.pin_move_time)
|
||||||
check_end_time = self.send_cmd(None)
|
check_end_time = self.send_cmd(None)
|
||||||
|
|||||||
Reference in New Issue
Block a user