tres: fix I2C hang on fake siren init (#2069)

* fix i2c hang

* misra fix

---------

Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
Adeeb Shihadeh
2024-10-30 16:53:17 -07:00
committed by GitHub
parent 352e7ff138
commit 0b364ece1e
5 changed files with 34 additions and 13 deletions

View File

@@ -252,7 +252,6 @@ class Panda:
return None
if len(pandas) == 1:
print(f"INFO: connecting to panda {pandas[0]}")
time.sleep(1)
return pandas[0]
while True:
print("Multiple pandas available:")