From 50b0a7a69a234434c4ea464fcf0f0b75fb3ecaba Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sun, 16 Jun 2024 02:19:45 -0400 Subject: [PATCH] Only camera ACC for now --- selfdrive/car/gm/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/gm/interface.py b/selfdrive/car/gm/interface.py index f68b31a291..4a74461f06 100755 --- a/selfdrive/car/gm/interface.py +++ b/selfdrive/car/gm/interface.py @@ -88,7 +88,6 @@ class CarInterface(CarInterfaceBase): ret.safetyConfigs = [get_safety_config(car.CarParams.SafetyModel.gm)] ret.autoResumeSng = False ret.enableBsm = 0x142 in fingerprint[CanBus.POWERTRAIN] - ret.customStockLongAvailable = True if candidate in EV_CAR: ret.transmissionType = TransmissionType.direct @@ -121,6 +120,7 @@ class CarInterface(CarInterfaceBase): ret.pcmCruise = False ret.openpilotLongitudinalControl = True ret.safetyConfigs[0].safetyParam |= Panda.FLAG_GM_HW_CAM_LONG + ret.customStockLongAvailable = True else: # ASCM, OBD-II harness ret.openpilotLongitudinalControl = True