mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-21 22:12:05 +08:00
Fix counter in HKG clu11 message (#1484)
* fix counter in clu11 message * update ref
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user