fix general

This commit is contained in:
firestar5683
2026-02-18 14:49:37 -06:00
parent f10391d9ce
commit 948cdf21d0
+1 -1
View File
@@ -527,7 +527,7 @@ class CarInterface(CarInterfaceBase):
gm_safety_cfg.safetyParam |= Panda.FLAG_GM_NO_ACC
# Exception for flashed cars, or cars whose camera was removed
if (ret.networkLocation == NetworkLocation.fwdCamera or candidate in CC_ONLY_CAR) and CAM_MSG not in fingerprint.get(CanBus.CAMERA, {}) and not candidate in (SDGM_CAR | ASCM_INT):
if (ret.networkLocation == NetworkLocation.fwdCamera or candidate in CC_ONLY_CAR) and CAM_MSG not in fingerprint.get(CanBus.CAMERA, {}) and candidate not in SDGM_CAR:
ret.flags |= GMFlags.NO_CAMERA.value
gm_safety_cfg.safetyParam |= Panda.FLAG_GM_NO_CAMERA