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 {