Fix counter in HKG clu11 message (#1484)

* fix counter in clu11 message

* update ref
pull/1488/head
Willem Melching 5 years ago committed by GitHub
parent 5182da3100
commit 27ffa29f6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/car/hyundai/hyundaican.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -65,7 +65,7 @@ def create_lkas11(packer, frame, car_fingerprint, apply_steer, steer_req,
def create_clu11(packer, frame, clu11, button):
values = clu11
values["CF_Clu_CruiseSwState"] = button
values["CF_Clu_CruiseSwState"] = frame % 0x10
values["CF_Clu_AliveCnt1"] = frame % 0x10
return packer.make_can_msg("CLU11", 0, values)

@ -1 +1 @@
79bba4ca90f4c7d6c4fddcd9a916f94966a40dca
1050a84363baf1e7910d3f8f9a01e201e6041e70
Loading…
Cancel
Save