1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-09-11 03:55:23 +03:00

Merge pull request #704 from samueldr-wip/feature/hotplug-lvgui

lvgui: Update with hotplug feature
This commit is contained in:
Samuel Dionne-Riel 2024-03-29 20:10:27 -04:00 committed by GitHub
commit f7087f8fdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 4 deletions

View File

@ -86,6 +86,8 @@ class Tasks::Splash < SingletonTask
# Minimum amount of time spent waiting for devices, in seconds.
wait_for_devices_delay = Configuration["quirks"]["wait_for_devices_delay"]
return unless wait_for_devices_delay > 0
# Number of times this is looking at the state every second.
# This is the "precision" at which it works, e.g. wait_for_devices_delay + (1.0/looks_per_second)
# is the approximative minimum amount of time this will wait for.

View File

@ -95,13 +95,13 @@ let
in
stdenv.mkDerivation {
pname = "lvgui";
version = "2024-03-25";
version = "2024-03-29";
src = fetchFromGitHub {
repo = "lvgui";
owner = "mobile-nixos";
rev = "4dfc178445c5595ae89ef2697d4b8dfea14b2316";
hash = "sha256-8wcitxfLZIedjb509zpRxuYO6o9qIatXO93NGxMhgUs=";
rev = "8768bab377a7ccab0b25b96d204af670820f8c76";
hash = "sha256-lDmUppndyDGY1EJT7FC6Fdb3AT2M6D75FnXw4bPNrD0=";
};
# Document `LVGL_ENV_SIMULATOR` in the built headers.

View File

@ -49,7 +49,7 @@ in
};
delay = mkOption {
type = types.int;
default = 2;
default = 0;
description = lib.mdDoc ''
Minimum delay spent waiting for input devices to settle.