mirror of https://github.com/commaai/panda.git
don't try to reflash bootstub when reconnecting
This commit is contained in:
parent
235067a22b
commit
972b0dca94
|
@ -472,11 +472,7 @@ class Panda:
|
|||
success = True
|
||||
break
|
||||
except Exception:
|
||||
try:
|
||||
dfu = PandaDFU(self.get_dfu_serial())
|
||||
dfu.recover()
|
||||
except Exception:
|
||||
pass
|
||||
pass
|
||||
time.sleep(0.1)
|
||||
if not success:
|
||||
raise Exception("reconnect failed")
|
||||
|
|
Loading…
Reference in New Issue