mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 19:11:54 +08:00
debounce for gpiod AioReader
This commit is contained in:
@@ -81,7 +81,7 @@ class _GpioInput:
|
||||
self.__inverted: bool = config.inverted
|
||||
|
||||
self.__driver = driver
|
||||
self.__driver.register_input(self.__pin)
|
||||
self.__driver.register_input(self.__pin, config.debounce)
|
||||
|
||||
def get_scheme(self) -> Dict:
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user