mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 16:26:14 +08:00
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:
+1
-1
Submodule cereal updated: 4ffd63b955...e0cf7e09ae
+1
-1
Submodule panda updated: f95f4a5294...0a738b7ee8
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user