From 2699bae778fa7d9a4d40cf169b1eb56c74cb22c8 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Thu, 16 Jun 2022 16:06:41 +0200 Subject: [PATCH] ui: disable controls unresponsive alert on PC --- selfdrive/ui/ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/ui.h b/selfdrive/ui/ui.h index 192a353ad1..cbf3921e4e 100644 --- a/selfdrive/ui/ui.h +++ b/selfdrive/ui/ui.h @@ -54,7 +54,7 @@ struct Alert { return {"openpilot Unavailable", "Waiting for controls to start", "controlsWaiting", cereal::ControlsState::AlertSize::MID, AudibleAlert::NONE}; - } else if (controls_missing > CONTROLS_TIMEOUT) { + } else if (controls_missing > CONTROLS_TIMEOUT && !Hardware::PC()) { // car is started, but controls is lagging or died if (cs.getEnabled() && (controls_missing - CONTROLS_TIMEOUT) < 10) { return {"TAKE CONTROL IMMEDIATELY", "Controls Unresponsive",