mirror of https://github.com/commaai/panda.git
python: default to 60s timeout for recover() (#1394)
This commit is contained in:
parent
810df6b5c1
commit
ba5c2948e4
|
@ -498,7 +498,7 @@ class Panda:
|
||||||
if reconnect:
|
if reconnect:
|
||||||
self.reconnect()
|
self.reconnect()
|
||||||
|
|
||||||
def recover(self, timeout: Optional[int] = None, reset: bool = True) -> bool:
|
def recover(self, timeout: Optional[int] = 60, reset: bool = True) -> bool:
|
||||||
dfu_serial = self.get_dfu_serial()
|
dfu_serial = self.get_dfu_serial()
|
||||||
|
|
||||||
if reset:
|
if reset:
|
||||||
|
|
Loading…
Reference in New Issue