diff options
author | Maxim Devaev <[email protected]> | 2020-09-17 01:12:09 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2020-09-17 01:12:09 +0300 |
commit | 1f3cdd03be80b5a297db58c8118f63c1415f4584 (patch) | |
tree | e2e9321830f8fff5be3b03451c4468bee9c70cf5 /kvmd/apps/__init__.py | |
parent | 1c31b8f80d90c6d4b1311e7527343d54316974d5 (diff) | |
parent | 3f79f55a9ef6368b0bd2c76bf55c7e139ecfb9c7 (diff) |
Merge pull request #8 from pikvm/libgpiod
Libgpiod
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r-- | kvmd/apps/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index ac140466..ccede372 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -227,7 +227,9 @@ def _patch_dynamic( # pylint: disable=too-many-locals "min_delay": Option(0.1, type=valid_float_f01), "max_delay": Option(0.1, type=valid_float_f01), }, - } if mode == UserGpioModes.OUTPUT else {}) + } if mode == UserGpioModes.OUTPUT else { # input + "debounce": Option(0.1, type=valid_float_f0), + }) } rebuild = True |