From 42ca551876c8153a21a7aac8d160de3f08bbc251 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sat, 29 Mar 2025 23:26:40 -0400 Subject: [PATCH] rename --- sunnypilot/selfdrive/car/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sunnypilot/selfdrive/car/interfaces.py b/sunnypilot/selfdrive/car/interfaces.py index 4b8349655a..4672ff89ec 100644 --- a/sunnypilot/selfdrive/car/interfaces.py +++ b/sunnypilot/selfdrive/car/interfaces.py @@ -34,7 +34,7 @@ def _initialize_custom_longitudinal_tuning(CP: structs.CarParams, CP_SP: structs if tuning_option_str is not None: tuning_option_str = tuning_option_str.strip() if tuning_option_str != "0": - CP_SP.flags |= HyundaiFlagsSP.LONGTUNING.value + CP_SP.flags |= HyundaiFlagsSP.LONG_TUNING.value if params.get_bool("HyundaiSmootherBraking"): CP_SP.flags |= HyundaiFlagsSP.LONGTUNING_BRAKING.value