not1454 is a liar
This commit is contained in:
@@ -9,7 +9,7 @@ from cereal import car, custom, log
|
||||
from msgq.visionipc import VisionIpcClient, VisionStreamType
|
||||
|
||||
|
||||
from opendbc.car.gm.values import CC_ONLY_CAR
|
||||
from opendbc.car.gm.values import GMFlags
|
||||
|
||||
from openpilot.common.params import Params
|
||||
from openpilot.common.realtime import config_realtime_process, Priority, Ratekeeper, DT_CTRL
|
||||
@@ -165,7 +165,7 @@ class SelfdriveD:
|
||||
|
||||
self.starpilot_events_prev = []
|
||||
|
||||
self.has_menu = self.CP.brand == "gm" and self.CP.carFingerprint not in CC_ONLY_CAR
|
||||
self.has_menu = self.CP.brand == "gm" and not (self.CP.flags & GMFlags.NO_CAMERA.value)
|
||||
|
||||
self.FPCP = messaging.log_from_bytes(self.params.get("StarPilotCarParams", block=True), custom.StarPilotCarParams)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user