diff options
author | Devaev Maxim <[email protected]> | 2020-09-16 00:03:44 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-09-16 00:03:44 +0300 |
commit | 00069931c181a672c7f709d9a76892e575a964f7 (patch) | |
tree | d77779a938718e2d6e95269adeac5ab581af8ca3 /kvmd/plugins/ugpio/__init__.py | |
parent | 7cdf5976a8c0f0e020847413f4f8d64cb8e797f7 (diff) |
debounce for gpiod AioReader
Diffstat (limited to 'kvmd/plugins/ugpio/__init__.py')
-rw-r--r-- | kvmd/plugins/ugpio/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/ugpio/__init__.py b/kvmd/plugins/ugpio/__init__.py index 9ed48a5f..c280b2a8 100644 --- a/kvmd/plugins/ugpio/__init__.py +++ b/kvmd/plugins/ugpio/__init__.py @@ -74,7 +74,7 @@ class BaseUserGpioDriver(BasePlugin): def get_modes(cls) -> Set[str]: return set(UserGpioModes.ALL) - def register_input(self, pin: int) -> None: + def register_input(self, pin: int, debounce: float) -> None: raise NotImplementedError def register_output(self, pin: int, initial: Optional[bool]) -> None: |