mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-19 10:22:08 +08:00
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:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user