From d315ea6222b3940a56079f7dcc6ce3f9c2ede01d Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Mon, 12 May 2025 14:23:23 -0500 Subject: [PATCH] Update interface.py --- selfdrive/car/gm/interface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/selfdrive/car/gm/interface.py b/selfdrive/car/gm/interface.py index c273d963b..d4db68311 100644 --- a/selfdrive/car/gm/interface.py +++ b/selfdrive/car/gm/interface.py @@ -147,7 +147,7 @@ class CarInterface(CarInterfaceBase): ret.safetyConfigs[0].safetyParam |= Panda.FLAG_GM_HW_SDGM else: # ASCM, OBD-II harness - ret.openpilotLongitudinalControl = not frogpilot_toggles.disable_openpilot_long + ret.openpilotLongitudinalControl = not params.get_bool("DisableOpenpilotLongitudinal") ret.networkLocation = NetworkLocation.gateway ret.radarUnavailable = RADAR_HEADER_MSG not in fingerprint[CanBus.OBSTACLE] and not docs ret.pcmCruise = False # stock non-adaptive cruise control is kept off @@ -269,7 +269,7 @@ class CarInterface(CarInterfaceBase): ret.safetyConfigs[0].safetyParam |= Panda.FLAG_GM_HW_CAM ret.minEnableSpeed = -1 ret.pcmCruise = False - ret.openpilotLongitudinalControl = not frogpilot_toggles.disable_openpilot_long + ret.openpilotLongitudinalControl = not params.get_bool("DisableOpenpilotLongitudinal") ret.stoppingControl = True ret.autoResumeSng = True @@ -293,7 +293,7 @@ class CarInterface(CarInterfaceBase): ret.radarUnavailable = True ret.experimentalLongitudinalAvailable = False ret.minEnableSpeed = 24 * CV.MPH_TO_MS - ret.openpilotLongitudinalControl = not frogpilot_toggles.disable_openpilot_long + ret.openpilotLongitudinalControl = not params.get_bool("DisableOpenpilotLongitudinal") ret.pcmCruise = False if not ret.enableGasInterceptor and candidate in CC_ONLY_CAR: #redneck tuning