mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
don't try to reflash bootstub when reconnecting
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user