mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +08:00
tesmart state_poll=10
This commit is contained in:
parent
68e0613c02
commit
416e093967
@ -76,7 +76,7 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute
|
|||||||
"port": Option(5000, type=valid_port),
|
"port": Option(5000, type=valid_port),
|
||||||
"timeout": Option(5.0, type=valid_float_f01),
|
"timeout": Option(5.0, type=valid_float_f01),
|
||||||
"switch_delay": Option(1.0, type=valid_float_f0),
|
"switch_delay": Option(1.0, type=valid_float_f0),
|
||||||
"state_poll": Option(5.0, type=valid_float_f01),
|
"state_poll": Option(10.0, type=valid_float_f01),
|
||||||
}
|
}
|
||||||
|
|
||||||
def register_input(self, pin: int, debounce: float) -> None:
|
def register_input(self, pin: int, debounce: float) -> None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user