diff --git a/selfdrive/car/fw_versions.py b/selfdrive/car/fw_versions.py index cf32fd19a8..bbe0f1da65 100755 --- a/selfdrive/car/fw_versions.py +++ b/selfdrive/car/fw_versions.py @@ -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(): 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) if a not in ecu_types: ecu_types[a] = ecu_type