mirror of https://github.com/Desuuuu/klipper.git
bltouch: Add an extra 200ms delay to the initialization process
On a reset, the mcu.py code may have sent an initialization message to the bltouch, which needs time to complete. Add additional time during the bltouch setup to avoid a race with these two times. This avoids some "timer too close" errors that users of fast host machines were reporting. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
930317fa2a
commit
d317793171
|
@ -78,6 +78,8 @@ class BLTouchEndstopWrapper:
|
|||
if stepper.is_active_axis('z'):
|
||||
self.add_stepper(stepper)
|
||||
def handle_connect(self):
|
||||
self.sync_mcu_print_time()
|
||||
self.next_cmd_time += 0.200
|
||||
self.set_output_mode(self.output_mode)
|
||||
try:
|
||||
self.raise_probe()
|
||||
|
|
Loading…
Reference in New Issue