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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

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