Skip to content

Commit

Permalink
Revert "Update hyundaican for Correct Message ID on LKAS11 (commaai#746
Browse files Browse the repository at this point in the history
…)" (commaai#775)

This reverts commit 958f696.
  • Loading branch information
rbiasini authored Aug 1, 2019
1 parent 958f696 commit 5d1e7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/hyundai/hyundaican.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_Bca_R": 3 if enabled else 0,
"CF_Lkas_Icon": 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,
Expand Down

0 comments on commit 5d1e7dd

Please sign in to comment.