|
|
@ -119,6 +119,9 @@ def match_fw_to_car_exact(live_fw_versions, match_brand=None, log=True, extra_fw |
|
|
|
|
|
|
|
|
|
|
|
for candidate, fws in candidates.items(): |
|
|
|
for candidate, fws in candidates.items(): |
|
|
|
config = FW_QUERY_CONFIGS[MODEL_TO_BRAND[candidate]] |
|
|
|
config = FW_QUERY_CONFIGS[MODEL_TO_BRAND[candidate]] |
|
|
|
|
|
|
|
if not len(fws): |
|
|
|
|
|
|
|
invalid.add(candidate) |
|
|
|
|
|
|
|
|
|
|
|
for ecu, expected_versions in fws.items(): |
|
|
|
for ecu, expected_versions in fws.items(): |
|
|
|
expected_versions = expected_versions + extra_fw_versions.get(candidate, {}).get(ecu, []) |
|
|
|
expected_versions = expected_versions + extra_fw_versions.get(candidate, {}).get(ecu, []) |
|
|
|
ecu_type = ecu[0] |
|
|
|
ecu_type = ecu[0] |
|
|
|