This commit is contained in:
Your Name
2024-02-05 02:21:21 -06:00
parent 67178ebc4b
commit 9213866846
3 changed files with 17 additions and 2 deletions

View File

@@ -293,9 +293,11 @@ class CarInterface(CarInterfaceBase):
# *** feature detection ***
if candidate in CANFD_CAR:
ret.enableBsm = 0x1e5 in fingerprint[CAN.ECAN]
ret.nav_msg = 0x544 in fingerprint[0]
else:
ret.enableBsm = 0x58b in fingerprint[0]
ret.nav_msg = False
# *** panda safety config ***
ret.safetyConfigs = set_safety_config_hyundai(candidate, CAN, can_fd=(candidate in CANFD_CAR))