diff --git a/selfdrive/car/fw_versions.py b/selfdrive/car/fw_versions.py index 9714545212..cf32fd19a8 100755 --- a/selfdrive/car/fw_versions.py +++ b/selfdrive/car/fw_versions.py @@ -268,7 +268,8 @@ def get_fw_versions(logcan, sendcan, query_brand=None, extra=None, timeout=0.1, parallel_addrs = [] ecu_types = {} - for brand, config in FW_QUERY_CONFIGS.items(): + for brand, brand_versions in versions.items(): + config = FW_QUERY_CONFIGS[brand] for ecu_type, addr, sub_addr in config.get_all_ecus(versions[brand], include_ecu_type=True): a = (brand, addr, sub_addr) if a not in ecu_types: