mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
match_fw_to_car_exact: get config once per candidate (#28384)
lesss old-commit-hash: 7c26fc716aa2611acc2e80ff19c138e9a077803c
This commit is contained in:
@@ -103,8 +103,8 @@ def match_fw_to_car_exact(fw_versions_dict) -> Set[str]:
|
||||
candidates = FW_VERSIONS
|
||||
|
||||
for candidate, fws in candidates.items():
|
||||
config = FW_QUERY_CONFIGS[MODEL_TO_BRAND[candidate]]
|
||||
for ecu, expected_versions in fws.items():
|
||||
config = FW_QUERY_CONFIGS[MODEL_TO_BRAND[candidate]]
|
||||
ecu_type = ecu[0]
|
||||
addr = ecu[1:]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user