Kona EV: send LFA MFA message (#20320)

old-commit-hash: 9740052378
commatwo_master
Adeeb Shihadeh 4 years ago committed by GitHub
parent 04e5fbe15e
commit 31a1fd79bf
  1. 2
      selfdrive/car/hyundai/carcontroller.py

@ -81,7 +81,7 @@ class CarController():
self.last_resume_frame = frame self.last_resume_frame = frame
# 20 Hz LFA MFA message # 20 Hz LFA MFA message
if frame % 5 == 0 and self.car_fingerprint in [CAR.SONATA, CAR.PALISADE, CAR.IONIQ, CAR.KIA_NIRO_EV, if frame % 5 == 0 and self.car_fingerprint in [CAR.SONATA, CAR.PALISADE, CAR.IONIQ, CAR.KIA_NIRO_EV, CAR.KONA_EV,
CAR.IONIQ_EV_2020, CAR.KIA_CEED, CAR.KIA_SELTOS, CAR.ELANTRA_2021]: CAR.IONIQ_EV_2020, CAR.KIA_CEED, CAR.KIA_SELTOS, CAR.ELANTRA_2021]:
can_sends.append(create_lfahda_mfc(self.packer, enabled)) can_sends.append(create_lfahda_mfc(self.packer, enabled))

Loading…
Cancel
Save