|
|
|
@ -93,6 +93,11 @@ def main() -> NoReturn: |
|
|
|
cloudlog.event("pandad.flash_and_connect", count=count) |
|
|
|
cloudlog.event("pandad.flash_and_connect", count=count) |
|
|
|
params.remove("PandaSignatures") |
|
|
|
params.remove("PandaSignatures") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: remove this in the next AGNOS |
|
|
|
|
|
|
|
# wait until USB is up before counting |
|
|
|
|
|
|
|
if time.monotonic() < 25.: |
|
|
|
|
|
|
|
no_internal_panda_count = 0 |
|
|
|
|
|
|
|
|
|
|
|
# Handle missing internal panda |
|
|
|
# Handle missing internal panda |
|
|
|
if no_internal_panda_count > 0: |
|
|
|
if no_internal_panda_count > 0: |
|
|
|
if no_internal_panda_count == 3: |
|
|
|
if no_internal_panda_count == 3: |
|
|
|
|