From da9f02ed6196f59c1a8ed0170c589bb277151447 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 30 Jan 2024 00:53:07 -0800 Subject: [PATCH] yay --- selfdrive/car/fw_versions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: