|
|
@ -270,7 +270,7 @@ def get_fw_versions(logcan, sendcan, query_brand=None, extra=None, timeout=0.1, |
|
|
|
|
|
|
|
|
|
|
|
for brand, brand_versions in versions.items(): |
|
|
|
for brand, brand_versions in versions.items(): |
|
|
|
config = FW_QUERY_CONFIGS[brand] |
|
|
|
config = FW_QUERY_CONFIGS[brand] |
|
|
|
for ecu_type, addr, sub_addr in config.get_all_ecus(versions[brand], include_ecu_type=True): |
|
|
|
for ecu_type, addr, sub_addr in config.get_all_ecus(brand_versions, include_ecu_type=True): |
|
|
|
a = (brand, addr, sub_addr) |
|
|
|
a = (brand, addr, sub_addr) |
|
|
|
if a not in ecu_types: |
|
|
|
if a not in ecu_types: |
|
|
|
ecu_types[a] = ecu_type |
|
|
|
ecu_types[a] = ecu_type |
|
|
|