mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-22 08:43:54 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user