From 79471d17dedf5d2645add2c55b3f7c7bd75a1026 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 7 Jun 2023 18:41:58 -0700 Subject: [PATCH] add comment --- selfdrive/car/fw_versions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/car/fw_versions.py b/selfdrive/car/fw_versions.py index c6cb39afeb..eb536a694c 100755 --- a/selfdrive/car/fw_versions.py +++ b/selfdrive/car/fw_versions.py @@ -61,6 +61,7 @@ def match_fw_to_car_fuzzy(fw_versions_dict, config, log=True, exclude=None): # Build lookup table from (addr, sub_addr, fw) to list of candidate cars all_fw_versions = defaultdict(list) + # Platform codes are brand-specific and used to match with as a backup if exact FW matches don't exist all_platform_codes = defaultdict(list) for candidate, fw_by_addr in FW_VERSIONS.items(): if candidate == exclude: