diff options
author | Maxim Devaev <[email protected]> | 2022-10-08 06:09:33 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-10-08 06:09:33 +0300 |
commit | a39d3dffbe837c15576615656df5a924bcd44831 (patch) | |
tree | 407258ff32ac271ec2ccf6069a00e56ce1f04722 /kvmd/apps/__init__.py | |
parent | 16d9c3815f5bb5ba98f0923efc9f0fad8e2f48a2 (diff) |
pikvm/pikvm#803: Ability to use LEDs in GPIO title
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r-- | kvmd/apps/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 6bac90e2..168b1b85 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -93,6 +93,7 @@ from ..validators.kvm import valid_stream_h264_gop from ..validators.ugpio import valid_ugpio_driver from ..validators.ugpio import valid_ugpio_channel from ..validators.ugpio import valid_ugpio_mode +from ..validators.ugpio import valid_ugpio_view_title from ..validators.ugpio import valid_ugpio_view_table from ..validators.hw import valid_tty_speed @@ -482,7 +483,7 @@ def _get_config_scheme() -> dict: "scheme": {}, # Dymanic content "view": { "header": { - "title": Option("GPIO"), + "title": Option("GPIO", type=valid_ugpio_view_title), }, "table": Option([], type=valid_ugpio_view_table), }, |