Subaru: remove Impreza CAN fingerprints (#23841)

* Subaru: remove Impreza CAN fingerprints

* fix process replay

* update refs
old-commit-hash: 04b2545ec013d27e4022604101014f5cf9e6e43b
This commit is contained in:
Adeeb Shihadeh
2022-02-23 15:44:17 -08:00
committed by GitHub
parent 11ca91fadc
commit 9bd6dbea43
3 changed files with 2 additions and 5 deletions
@@ -388,7 +388,7 @@ def python_replay_process(cfg, lr, fingerprint=None):
for msg in lr:
if msg.which() == 'carParams':
car_fingerprint = migration.get(msg.carParams.carFingerprint, msg.carParams.carFingerprint)
if len(msg.carParams.carFw) and (car_fingerprint in FW_VERSIONS):
if msg.carParams.fingerprintSource == "fw" and (car_fingerprint in FW_VERSIONS):
Params().put("CarParamsCache", msg.carParams.as_builder().to_bytes())
else:
os.environ['SKIP_FW_QUERY'] = "1"
+1 -1
View File
@@ -1 +1 @@
60f58f58dae514eb8b956c03afa5f9b91c12a122
67c8f283858998b75ac28879e1350a589a968e5d