comment for tomorrow

pull/26939/head
Shane Smiskol 2 years ago
parent 675ed2b2c5
commit 603bed3a85
  1. 3
      selfdrive/car/fw_versions.py

@ -88,6 +88,9 @@ def match_fw_to_car_fuzzy(fw_versions_dict, config, log=True, exclude=None):
for version in versions:
# Fall back to matching with full FW versions if brand does not implement platform codes
candidates = set()
# TODO: we might want to try both, the only reason we'd want to replace exact with platform codes is if
# previous function was giving us false positives, which it isn't. we lose fuzzy FP for a lot of platforms
# with just platform codes on two ECUs...
if config.fuzzy_get_platform_codes is None:
# All cars that have this FW response on the specified address
candidates = all_fw_versions[(*ecu_key, version)]

Loading…
Cancel
Save