Update hyundaican for Correct Message ID on LKAS11 (#746)

This is the only trace of CF_Lkas_Icon found under /car/hyundai relative to open .dbc

https://github.com/commaai/opendbc/pull/172
old-commit-hash: 1f1893a170
This commit is contained in:
TK211X
2019-08-01 15:34:19 -04:00
committed by rbiasini
parent 7609fa5d17
commit 9ea5bba556
+1 -1
View File
@@ -8,7 +8,7 @@ def make_can_msg(addr, dat, alt):
def create_lkas11(packer, car_fingerprint, apply_steer, steer_req, cnt, enabled, lkas11, hud_alert, keep_stock=False):
values = {
"CF_Lkas_Icon": 3 if enabled else 0,
"CF_Lkas_Bca_R": 3 if enabled else 0,
"CF_Lkas_LdwsSysState": 3 if steer_req else 1,
"CF_Lkas_SysWarning": hud_alert,
"CF_Lkas_LdwsLHWarning": lkas11["CF_Lkas_LdwsLHWarning"] if keep_stock else 0,