don't try to reflash bootstub when reconnecting

This commit is contained in:
Adeeb Shihadeh
2023-08-06 23:06:26 -07:00
committed by GitHub
parent 235067a22b
commit 972b0dca94

View File

@@ -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")