mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-24 22:32:04 +08:00
2025-11-04: extend timeout secs
This commit is contained in:
@@ -203,7 +203,7 @@ class Device:
|
||||
|
||||
def reset_interactive_timeout(self, timeout: int = -1) -> None:
|
||||
if timeout == -1:
|
||||
timeout = 10 if ui_state.ignition else 30
|
||||
timeout = 30 if ui_state.ignition else 60
|
||||
self._interaction_time = time.monotonic() + timeout
|
||||
|
||||
def add_interactive_timeout_callback(self, callback: Callable):
|
||||
|
||||
Reference in New Issue
Block a user