From 7ceb47eb2371eded906ff48fd31e200f179853a2 Mon Sep 17 00:00:00 2001 From: firestarsdog <229254897+firestarsdog@users.noreply.github.com> Date: Sat, 11 Apr 2026 13:09:26 -0400 Subject: [PATCH] not1454 is a liar --- selfdrive/selfdrived/selfdrived.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/selfdrived/selfdrived.py b/selfdrive/selfdrived/selfdrived.py index 50009a76..06cad2d3 100644 --- a/selfdrive/selfdrived/selfdrived.py +++ b/selfdrive/selfdrived/selfdrived.py @@ -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)