From cfb242b584b7aa3eb04ca55bedcf050d34c433b7 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 12 Aug 2024 23:18:21 -0700 Subject: [PATCH] fix honda crash --- selfdrive/car/honda/carcontroller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/selfdrive/car/honda/carcontroller.py b/selfdrive/car/honda/carcontroller.py index 7901c061a7..80efae078c 100644 --- a/selfdrive/car/honda/carcontroller.py +++ b/selfdrive/car/honda/carcontroller.py @@ -83,11 +83,11 @@ def process_hud_alert(hud_alert): # priority is: FCW, steer required, all others if hud_alert == VisualAlert.fcw: - fcw_display = VISUAL_HUD[hud_alert.raw] + fcw_display = VISUAL_HUD[hud_alert] elif hud_alert in (VisualAlert.steerRequired, VisualAlert.ldw): - steer_required = VISUAL_HUD[hud_alert.raw] + steer_required = VISUAL_HUD[hud_alert] else: - acc_alert = VISUAL_HUD[hud_alert.raw] + acc_alert = VISUAL_HUD[hud_alert] return fcw_display, steer_required, acc_alert