ui: disable controls unresponsive alert on PC

old-commit-hash: 2699bae778
This commit is contained in:
Willem Melching
2022-06-16 16:06:41 +02:00
parent 4b338d69db
commit 7fce9f4fdf
+1 -1
View File
@@ -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",