Skip to content

Commit

Permalink
[CC Long] Set correct flags
Browse files Browse the repository at this point in the history
  • Loading branch information
nworb-cire committed Aug 10, 2024
1 parent 3cc9b77 commit f07e944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selfdrive/car/gm/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ def _get_params(ret, candidate, fingerprint, car_fw, experimental_long, docs):

elif candidate in CC_ONLY_CAR:
ret.experimentalLongitudinalAvailable = True
ret.flags |= GMFlags.CC_LONG.value
ret.safetyConfigs[0].safetyParam |= Panda.FLAG_GM_CC_LONG
if experimental_long:
ret.flags |= GMFlags.CC_LONG.value
ret.safetyConfigs[0].safetyParam |= Panda.FLAG_GM_CC_LONG
ret.openpilotLongitudinalControl = True
ret.radarUnavailable = True
ret.minEnableSpeed = 24 * CV.MPH_TO_MS
Expand Down

0 comments on commit f07e944

Please sign in to comment.