Increase interactive timeout when onroad to 30 seconds
This commit is contained in:
@@ -438,7 +438,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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user