mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-05 08:15:58 +08:00
BigUI WIP: Huh need this afterall
This commit is contained in:
@@ -272,8 +272,8 @@ class Device:
|
||||
if self._override_interactive_timeout is not None:
|
||||
return self._override_interactive_timeout
|
||||
|
||||
timeout_onroad = self._params.get_int("ScreenTimeoutOnroad")
|
||||
timeout_offroad = self._params.get_int("ScreenTimeout")
|
||||
timeout_onroad = self._params.get_int("ScreenTimeoutOnroad", return_default=True)
|
||||
timeout_offroad = self._params.get_int("ScreenTimeout", return_default=True)
|
||||
|
||||
if timeout_onroad <= 0:
|
||||
timeout_onroad = 10 if gui_app.big_ui() else 5
|
||||
|
||||
Reference in New Issue
Block a user