add comment

pull/26939/head
Shane Smiskol 2 years ago
parent cc26cb0a8f
commit f4b46eb584
  1. 2
      selfdrive/car/fw_versions.py

@ -88,6 +88,8 @@ def match_fw_to_car_fuzzy(fw_versions_dict, config, log=True, exclude=None):
for version in versions: for version in versions:
# Fall back to matching with full FW versions if brand does not implement platform codes # Fall back to matching with full FW versions if brand does not implement platform codes
candidates = set() candidates = set()
# TODO: can revert and test both now that we're changing to requiring 2 ecus again.
# maybe
if config.fuzzy_get_platform_codes is None: if config.fuzzy_get_platform_codes is None:
# All cars that have this FW response on the specified address # All cars that have this FW response on the specified address
candidates = all_fw_versions[(*ecu_key, version)] candidates = all_fw_versions[(*ecu_key, version)]

Loading…
Cancel
Save