Subaru: fix disable eyesight enum (#30974)

value
This commit is contained in:
Justin Newberry
2024-01-11 20:15:37 -05:00
committed by GitHub
parent d7e7659852
commit e7657d896f
+1 -1
View File
@@ -122,7 +122,7 @@ class CarInterface(CarInterfaceBase):
ret.openpilotLongitudinalControl = experimental_long and ret.experimentalLongitudinalAvailable
if candidate in GLOBAL_GEN2 and ret.openpilotLongitudinalControl:
ret.flags |= SubaruFlags.DISABLE_EYESIGHT
ret.flags |= SubaruFlags.DISABLE_EYESIGHT.value
if ret.openpilotLongitudinalControl:
ret.longitudinalTuning.kpBP = [0., 5., 35.]