From aad459f6617262f1aa967e770a361d92b2f478ed Mon Sep 17 00:00:00 2001 From: firestarsdog <229254897+firestarsdog@users.noreply.github.com> Date: Sun, 24 May 2026 20:07:38 -0400 Subject: [PATCH] fuf --- common/params_keys.h | 2 +- starpilot/common/starpilot_variables.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/params_keys.h b/common/params_keys.h index 1c99154c0..641704740 100644 --- a/common/params_keys.h +++ b/common/params_keys.h @@ -422,7 +422,7 @@ inline static std::unordered_map keys = { {"PathEdgesColor", {PERSISTENT, STRING, "", "", 2}}, {"PathEdgeWidth", {PERSISTENT, FLOAT, "20.0", "0.0", 2}}, {"PathWidth", {PERSISTENT, FLOAT, "6.1", "5.9", 2}}, - {"PauseAOLOnBrake", {PERSISTENT, BOOL, "0", "0", 1}}, + {"PauseAOLOnBrake", {PERSISTENT, INT, "0", "0", 1}}, {"PauseLateralOnSignal", {PERSISTENT, BOOL, "0", "0", 1}}, {"PauseLateralSpeed", {PERSISTENT, FLOAT, "0.0", "0.0", 1}}, {"LateralResumeDelay", {PERSISTENT, FLOAT, "0.0", "0.0", 1}}, diff --git a/starpilot/common/starpilot_variables.py b/starpilot/common/starpilot_variables.py index 8f5133cb1..47ac42f40 100644 --- a/starpilot/common/starpilot_variables.py +++ b/starpilot/common/starpilot_variables.py @@ -661,7 +661,7 @@ class StarPilotVariables: toggle.always_on_lateral = self.get_value("AlwaysOnLateral") toggle.always_on_lateral_lkas = toggle.always_on_lateral and toggle.lkas_allowed_for_aol and self.get_value("AlwaysOnLateralLKAS") toggle.always_on_lateral_main = toggle.always_on_lateral and not prohibited_main_aol and not toggle.always_on_lateral_lkas - toggle.always_on_lateral_pause_speed = self.get_value("PauseAOLOnBrake", cast=float, condition=toggle.always_on_lateral) + toggle.always_on_lateral_pause_speed = self.get_value("PauseAOLOnBrake", cast=float, condition=toggle.always_on_lateral, conversion=speed_conversion) toggle.automatic_updates = self.get_value("AutomaticUpdates") and not BACKUP_PATH.is_file()