update long control safety param name

pull/22963/head
Jason Young 3 years ago
parent db5fc4761a
commit 114c9d02db
  1. 2
      selfdrive/car/volkswagen/interface.py

@ -48,7 +48,7 @@ class CarInterface(CarInterfaceBase):
if Params().get_bool("DisableRadar") and ret.networkLocation == NetworkLocation.gateway: if Params().get_bool("DisableRadar") and ret.networkLocation == NetworkLocation.gateway:
ret.openpilotLongitudinalControl = True ret.openpilotLongitudinalControl = True
ret.safetyConfigs[0].safetyParam |= Panda.FLAG_VOLKSWAGEN_LONGITUDINAL ret.safetyConfigs[0].safetyParam |= Panda.FLAG_VOLKSWAGEN_LONG_CONTROL
if ret.transmissionType == TransmissionType.manual: if ret.transmissionType == TransmissionType.manual:
ret.minEnableSpeed = 4.5 # FIXME: estimated, fine-tune ret.minEnableSpeed = 4.5 # FIXME: estimated, fine-tune

Loading…
Cancel
Save