From 4fac70eb8aa8782de2bc6484c3504169f07db4b0 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Thu, 31 Aug 2023 09:59:07 -0400 Subject: [PATCH] Did it just happen again --- selfdrive/car/hyundai/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/interface.py b/selfdrive/car/hyundai/interface.py index 5268952125..f843e5b9d3 100644 --- a/selfdrive/car/hyundai/interface.py +++ b/selfdrive/car/hyundai/interface.py @@ -21,7 +21,7 @@ BUTTONS_DICT = {Buttons.RES_ACCEL: ButtonType.accelCruise, Buttons.SET_DECEL: Bu def set_safety_config_canfd(CAN, can_fd=True): - platform = SafetyModel.hyundai if can_fd else SafetyModel.hyundaiCanfd + platform = SafetyModel.hyundaiCanfd if can_fd else SafetyModel.hyundai cfgs = [get_safety_config(platform), ] if CAN.ECAN >= 4: cfgs.insert(0, get_safety_config(SafetyModel.noOutput))