Reapply "Hyundai Azera: allow fingerprinting without comma power (#31717)" (#31719)

* Revert "Revert "Hyundai Azera: allow fingerprinting without comma power" (#31…"

This reverts commit 4b95ec5db27ee95231cffd23d1227ae936f72e98.

* we should get EPS

* add EPS to non-logging can 0 query
old-commit-hash: 6919c3744563e0c24acfd7395fdf297d3152d970
This commit is contained in:
Shane Smiskol
2024-03-05 18:00:47 -08:00
committed by GitHub
parent 6ef3e1ab24
commit b7a7897170
+7 -1
View File
@@ -731,7 +731,7 @@ FW_QUERY_CONFIG = FwQueryConfig(
Request(
[HYUNDAI_VERSION_REQUEST_LONG],
[HYUNDAI_VERSION_RESPONSE],
whitelist_ecus=[Ecu.fwdCamera, Ecu.fwdRadar, Ecu.cornerRadar, Ecu.hvac],
whitelist_ecus=[Ecu.fwdCamera, Ecu.fwdRadar, Ecu.cornerRadar, Ecu.hvac, Ecu.eps],
bus=0,
auxiliary=True,
),
@@ -801,6 +801,12 @@ FW_QUERY_CONFIG = FwQueryConfig(
obd_multiplexing=False,
),
],
# We lose these ECUs without the comma power on these cars.
# Note that we still attempt to match with them when they are present
non_essential_ecus={
Ecu.transmission: [CAR.AZERA_6TH_GEN, CAR.AZERA_HEV_6TH_GEN],
Ecu.engine: [CAR.AZERA_6TH_GEN, CAR.AZERA_HEV_6TH_GEN],
},
extra_ecus=[
(Ecu.adas, 0x730, None), # ADAS Driving ECU on HDA2 platforms
(Ecu.parkingAdas, 0x7b1, None), # ADAS Parking ECU (may exist on all platforms)