add comment

pull/26939/head
Shane Smiskol 2 years ago
parent 3e0bd29887
commit 79471d17de
  1. 1
      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 # Build lookup table from (addr, sub_addr, fw) to list of candidate cars
all_fw_versions = defaultdict(list) 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) all_platform_codes = defaultdict(list)
for candidate, fw_by_addr in FW_VERSIONS.items(): for candidate, fw_by_addr in FW_VERSIONS.items():
if candidate == exclude: if candidate == exclude:

Loading…
Cancel
Save