ui: longer screen timeout for driver view (#27457)

* longer driverview timeout

* Update ui.cc

* reset timeout

* do cleanup

* Apply suggestions from code review

* Update selfdrive/ui/ui.cc

* reset to default timeout on hidden

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f1568b960a3da819c41c62dcaeafb4eb6dd109eb
This commit is contained in:
Dean Lee
2023-08-17 13:22:39 +08:00
committed by GitHub
parent 0645f2c409
commit 5cc9fbe23f
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ signals:
void interactiveTimeout();
public slots:
void resetInteractiveTimeout();
void resetInteractiveTimeout(int timeout = -1);
void update(const UIState &s);
};