Subaru: rename legacy to preglobal (#28204)

* rename

* submodules too

* missed some variables

* fix find/replace error

* revert modules

* bump submodules

* bump cereal
pull/28208/head
Justin Newberry 2 years ago committed by GitHub
parent 70677fe5fc
commit f327053ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cereal
  2. 2
      panda
  3. 2
      selfdrive/car/subaru/interface.py

@ -1 +1 @@
Subproject commit 4ffd63b955a6b965fc278c5551fdb2b5ef0deaa5
Subproject commit e0cf7e09ae2864034bc370fb6c3db71a83eaf3e6

@ -1 +1 @@
Subproject commit f95f4a52946da442125f44ff7baeb642b9eb8d3d
Subproject commit 0a738b7ee8a49d153142ea0dd8c8c57693035845

@ -21,7 +21,7 @@ class CarInterface(CarInterfaceBase):
if candidate in PREGLOBAL_CARS:
ret.enableBsm = 0x25c in fingerprint[0]
ret.safetyConfigs = [get_safety_config(car.CarParams.SafetyModel.subaruLegacy)]
ret.safetyConfigs = [get_safety_config(car.CarParams.SafetyModel.subaruPreglobal)]
else:
ret.enableBsm = 0x228 in fingerprint[0]
ret.safetyConfigs = [get_safety_config(car.CarParams.SafetyModel.subaru)]

Loading…
Cancel
Save