From f4caa201cc2429091fbebe9bd92272e00cedfc26 Mon Sep 17 00:00:00 2001 From: FrogAi <91348155+FrogAi@users.noreply.github.com> Date: Fri, 12 Jan 2024 22:39:30 -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 1d3ded0..20d9a27 100644 --- a/selfdrive/ui/ui.cc +++ b/selfdrive/ui/ui.cc @@ -422,7 +422,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; }