From 001112fc76d612643cbcf96e33221b04abc90665 Mon Sep 17 00:00:00 2001 From: Rick Lan Date: Thu, 13 Jun 2024 15:59:30 +0800 Subject: [PATCH] unused --- selfdrive/ui/ui.cc | 3 --- selfdrive/ui/ui.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/selfdrive/ui/ui.cc b/selfdrive/ui/ui.cc index dc22213aa..f8e6c26ee 100644 --- a/selfdrive/ui/ui.cc +++ b/selfdrive/ui/ui.cc @@ -209,9 +209,6 @@ static void update_state(UIState *s) { (scene.started && sm.rcv_frame("liveCalibration") > scene.started_frame && sm.rcv_frame("modelV2") > scene.started_frame); - - // dp - scene.alka_enabled = sm["controlsStateExt"].getControlsStateExt().getAlkaEnabled(); } void ui_update_params(UIState *s) { diff --git a/selfdrive/ui/ui.h b/selfdrive/ui/ui.h index d6a538c3a..2ccb70edb 100644 --- a/selfdrive/ui/ui.h +++ b/selfdrive/ui/ui.h @@ -108,9 +108,6 @@ typedef struct UIScene { bool started, ignition, is_metric, map_on_left, longitudinal_control; bool world_objects_visible = false; uint64_t started_frame; - - // dp - bool alka_enabled = false; } UIScene; class UIState : public QObject {