From efd6c7554bd7e9d38fa3ac98025cd1e65fde3637 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Fri, 16 Feb 2024 12:42:10 +0000 Subject: [PATCH] ui: Feature Status: Fix SLC stuck in "OFF" --- selfdrive/ui/ui.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/ui/ui.cc b/selfdrive/ui/ui.cc index b5f1d67fd9..3ac796124d 100644 --- a/selfdrive/ui/ui.cc +++ b/selfdrive/ui/ui.cc @@ -264,6 +264,7 @@ void ui_update_params(UIState *s) { s->scene.speed_limit_warning_type = std::atoi(params.get("SpeedLimitWarningType").c_str()); s->scene.speed_limit_warning_value_offset = std::atoi(params.get("SpeedLimitWarningValueOffset").c_str()); s->scene.driving_model_gen = std::atoi(params.get("DrivingModelGeneration").c_str()); + s->scene.speed_limit_control_enabled = params.getBool("EnableSlc"); // Handle Onroad Screen Off params if (s->scene.onroadScreenOff > 0) {