Add gas interceptor condition for CC_ONLY_CAR

This commit is contained in:
Dom
2026-02-09 14:14:55 -06:00
committed by firestar5683
parent e82e034a31
commit e5fec364bb
+1 -1
View File
@@ -414,7 +414,7 @@ class CarInterface(CarInterfaceBase):
ret.pcmCruise = False
ret.openpilotLongitudinalControl = not frogpilot_toggles.disable_openpilot_long
elif candidate in CC_ONLY_CAR:
elif candidate in CC_ONLY_CAR and not ret.enableGasInterceptor:
ret.flags |= GMFlags.CC_LONG.value
gm_safety_cfg.safetyParam |= Panda.FLAG_GM_CC_LONG
ret.radarUnavailable = True