From 37fe0013194ba5a3914f9948484ef3f7ee4e9541 Mon Sep 17 00:00:00 2001 From: FrogAi <91348155+FrogAi@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:34:47 -0700 Subject: [PATCH] Increase interactive timeout when onroad to 30 seconds --- selfdrive/ui/ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/ui.cc b/selfdrive/ui/ui.cc index 95820fa..19d7a94 100644 --- a/selfdrive/ui/ui.cc +++ b/selfdrive/ui/ui.cc @@ -438,7 +438,7 @@ void Device::setAwake(bool on) { void Device::resetInteractiveTimeout(int timeout) { if (timeout == -1) { - timeout = (ignition_on ? 10 : 30); + timeout = 30; } interactive_timeout = timeout * UI_FREQ; }