forked from commaai/openpilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI: add timeout to close settings window while onroad (commaai#22980)
* refactor updateWakefulness * don't hide sidebar * rename reset->reset_timeout * move related variables and functions into class Device * reset timeout in ctor * set timeout to 10s if ignition is on * cleanup * remove unused QTimer *timer * check getTimestamp * keep socket reading in update_state * keep filtering Co-authored-by: Willem Melching <willem.melching@gmail.com>
- Loading branch information
Showing
3 changed files
with
38 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters