Skip to content

Commit

Permalink
stop lfa beeps
Browse files Browse the repository at this point in the history
  • Loading branch information
royjr committed Dec 20, 2024
1 parent fc22d28 commit 931370d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opendbc/car/hyundai/hyundaicanfd.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ def create_ccnc(packer, CAN, frame, CP, CC, CS):
if msg_161.get("ALERTS_2") == 5: # CONSIDER_TAKING_A_BREAK
msg_161.update({"ALERTS_2": 0, "SOUNDS_2": 0, "DAW_ICON": 0})

if msg_161.get("SOUNDS_4") == 2 and msg_161.get("LFA_ICON") in (3, 0,): # LFA BEEPS
msg_161["SOUNDS_4"] = 0

# ICONS, LANELINES
msg_161.update({
"CENTERLINE": 1 if enabled else 0,
Expand Down

0 comments on commit 931370d

Please sign in to comment.