From bd623c7a548d36a4efa0825ddfd69416f3da81ae Mon Sep 17 00:00:00 2001 From: Chris Williams Date: Wed, 25 Nov 2020 00:51:36 -0500 Subject: [PATCH] 2019 Hyundai Santa Fe fixes (#2490) * Add support for 2019 Santa Fe * Update carcontroller.py Reverted sending LFA MFA for CAR.SANTA_FE old-commit-hash: 013b0734633fcab95c2b17140e19fc44e117a8d3 --- selfdrive/car/hyundai/hyundaican.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/hyundaican.py b/selfdrive/car/hyundai/hyundaican.py index 81398c23da..c18309954d 100644 --- a/selfdrive/car/hyundai/hyundaican.py +++ b/selfdrive/car/hyundai/hyundaican.py @@ -17,7 +17,7 @@ def create_lkas11(packer, frame, car_fingerprint, apply_steer, steer_req, values["CF_Lkas_ActToi"] = steer_req values["CF_Lkas_MsgCount"] = frame % 0x10 - if car_fingerprint in [CAR.SONATA, CAR.PALISADE, CAR.KIA_NIRO_EV]: + if car_fingerprint in [CAR.SONATA, CAR.PALISADE, CAR.KIA_NIRO_EV, CAR.SANTA_FE]: values["CF_Lkas_LdwsActivemode"] = int(left_lane) + (int(right_lane) << 1) values["CF_Lkas_LdwsOpt_USM"] = 2