Increase interactive timeout when onroad to 30 seconds

This commit is contained in:
FrogAi
2024-01-12 22:39:30 -07:00
parent 150422e322
commit f4caa201cc

View File

@@ -422,7 +422,7 @@ void Device::setAwake(bool on) {
void Device::resetInteractiveTimeout(int timeout) { void Device::resetInteractiveTimeout(int timeout) {
if (timeout == -1) { if (timeout == -1) {
timeout = (ignition_on ? 10 : 30); timeout = 30;
} }
interactive_timeout = timeout * UI_FREQ; interactive_timeout = timeout * UI_FREQ;
} }