boot time test (#1909)

* test

* usb serial

* just test for now

* time

* close

* close after
This commit is contained in:
Adeeb Shihadeh
2024-03-21 20:28:44 -07:00
committed by GitHub
parent de061e4f73
commit 8a845b973e
3 changed files with 13 additions and 1 deletions

View File

@@ -433,6 +433,8 @@ class Panda:
self._handle.controlWrite(Panda.REQUEST_IN, 0xd8, 0, 0, b'', timeout=timeout, expect_disconnect=True)
except Exception:
pass
self.close()
if not enter_bootloader and reconnect:
self.reconnect()