Subaru: rename legacy to preglobal (#28204)

* rename

* submodules too

* missed some variables

* fix find/replace error

* revert modules

* bump submodules

* bump cereal
This commit is contained in:
Justin Newberry
2023-05-15 22:12:47 -04:00
committed by GitHub
parent 70677fe5fc
commit f327053ac0
3 changed files with 3 additions and 3 deletions
+1 -1
Submodule cereal updated: 4ffd63b955...e0cf7e09ae
+1 -1
Submodule panda updated: f95f4a5294...0a738b7ee8
+1 -1
View File
@@ -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)]