Apply Commit Suggestion

Co-authored-by: Shane Smiskol <shane@smiskol.com>
pull/30861/head
garrettpall 2 years ago committed by GitHub
parent 1c5d2f66f9
commit 4d35d70fb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      selfdrive/car/gm/interface.py

@ -253,8 +253,7 @@ class CarInterface(CarInterfaceBase):
ret.steerActuatorDelay = 0.2
CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning)
# Detect if BSM message is present
ret.enableBsm = BSM_MSG in fingerprint[CanBus.POWERTRAIN]
ret.enableBsm = 0x142 in fingerprint[CanBus.POWERTRAIN]
return ret

Loading…
Cancel
Save