This commit is contained in:
Your Name
2024-05-04 16:40:14 -05:00
parent e67e80d5c2
commit 2b6ba5dae6
3 changed files with 8 additions and 8 deletions

View File

@@ -133,7 +133,7 @@ def create_acc_cancel(packer, CP, CAN, cruise_info_copy):
def create_lfahda_cluster(packer, CAN, enabled, lat_active):
values = {
"HDA_ICON": 0,
"LFA_ICON": 0
"LFA_ICON": 2 if enabled else 1 if lat_active else 0
}
return packer.make_can_msg("LFAHDA_CLUSTER", CAN.ECAN, values)