Civic 2019 EU new ECU values added (#20774)

* Update values.py

* non essential

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
albatross
Gabor 2021-05-01 02:06:12 +02:00 committed by GitHub
parent 5c9151478a
commit 7d9aa1352f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -204,7 +204,7 @@ def match_fw_to_car_exact(fw_versions_dict):
ecu_type = ecu[0]
addr = ecu[1:]
found_version = fw_versions_dict.get(addr, None)
ESSENTIAL_ECUS = [Ecu.engine, Ecu.eps, Ecu.esp, Ecu.fwdRadar, Ecu.fwdCamera, Ecu.vsa, Ecu.electricBrakeBooster]
ESSENTIAL_ECUS = [Ecu.engine, Ecu.eps, Ecu.esp, Ecu.fwdRadar, Ecu.fwdCamera, Ecu.vsa]
if ecu_type == Ecu.esp and candidate in [TOYOTA.RAV4, TOYOTA.COROLLA, TOYOTA.HIGHLANDER] and found_version is None:
continue

View File

@ -494,6 +494,7 @@ FW_VERSIONS = {
b'37805-5AW-G720\x00\x00',
b'37805-5AZ-E850\x00\x00',
b'37805-5AZ-G740\x00\x00',
b'37805-5AZ-G840\x00\x00',
b'37805-5BB-A530\x00\x00',
b'37805-5BB-A540\x00\x00',
b'37805-5BB-A630\x00\x00',
@ -583,6 +584,7 @@ FW_VERSIONS = {
b'78109-TGK-Z410\x00\x00',
b'78109-TGL-G120\x00\x00',
b'78109-TGL-G130\x00\x00',
b'78109-TGL-G230\x00\x00',
],
(Ecu.fwdRadar, 0x18dab0f1, None): [
b'36802-TBA-A150\x00\x00',
@ -613,6 +615,9 @@ FW_VERSIONS = {
b'38897-TBA-A110\x00\x00',
b'38897-TBA-A020\x00\x00',
],
(Ecu.electricBrakeBooster, 0x18da2bf1, None): [
b'39494-TGL-G030\x00\x00',
],
},
CAR.CIVIC_BOSCH_DIESEL: {
(Ecu.programmedFuelInjection, 0x18da10f1, None): [