fix tofu (lead) location on cluster and HUD to center lane

the HDA icon state somehow was interfering with the lead car icon's lane location (left/middle/right)
This commit is contained in:
Jason Wen
2024-04-28 06:45:54 -04:00
parent 459ee997af
commit b47a9780dc
+1 -1
View File
@@ -149,7 +149,7 @@ def create_lfahda_cluster(packer, CAN, enabled, can_canfd_hybrid):
lfa_icon = "LFA_Icon_State" if can_canfd_hybrid else "LFA_ICON"
values = {
hda_icon: 1 if enabled else 0,
hda_icon: 1 if enabled and not can_canfd_hybrid else 0,
lfa_icon: 2 if enabled else 0,
}