From 17f927e3ba294d1116cc3b6fddd5d32f672e163b Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 7 Jun 2023 22:27:02 -0700 Subject: [PATCH] better --- selfdrive/car/fw_versions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/selfdrive/car/fw_versions.py b/selfdrive/car/fw_versions.py index 77e2def769..7493c33b7b 100755 --- a/selfdrive/car/fw_versions.py +++ b/selfdrive/car/fw_versions.py @@ -86,8 +86,7 @@ def match_fw_to_car_fuzzy(fw_versions_dict, config, log=True, exclude=None): for addr, versions in fw_versions_dict.items(): ecu_key = (addr[0], addr[1]) for version in versions: - # If brand does not implement the platform code functions, try to match with - # full FW versions. + # Fall back to matching with full FW versions if brand does not implement platform codes candidates = set() if config.fuzzy_get_platform_codes is None: # All cars that have this FW response on the specified address