panda recover should go through bootstub first (#498)

master
Willem Melching 2020-04-13 15:12:06 -07:00 committed by GitHub
parent 8cc3a35700
commit f07a6ee7c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -297,6 +297,7 @@ class Panda(object):
self.reconnect()
def recover(self, timeout=None):
self.reset(enter_bootstub=True)
self.reset(enter_bootloader=True)
t_start = time.time()
while len(PandaDFU.list()) == 0: