pandad: wait for internal panda to come up (#27705)

* pandad: wait for internal panda to come up

* test

* more checks
old-commit-hash: f832a71038f5d50f991d36d7860bfc0ef912794e
This commit is contained in:
Adeeb Shihadeh
2023-04-14 14:18:13 -07:00
committed by GitHub
parent b5852330bf
commit 29eb4d3a35
4 changed files with 28 additions and 0 deletions
+3
View File
@@ -135,6 +135,9 @@ class HardwareBase(ABC):
def get_networks(self):
pass
def has_internal_panda(self) -> bool:
return False
def reset_internal_panda(self):
pass
+3
View File
@@ -565,6 +565,9 @@ class Tici(HardwareBase):
except Exception:
return -1, -1
def has_internal_panda(self):
return True
def reset_internal_panda(self):
gpio_init(GPIO.STM_RST_N, True)