mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 02:51:53 +08:00
tesmart rewrite
This commit is contained in:
@@ -108,7 +108,7 @@ class Plugin(BaseUserGpioDriver):
|
||||
prev_raw = raw
|
||||
await asyncio.sleep(self.__state_poll)
|
||||
|
||||
def cleanup(self) -> None:
|
||||
async def cleanup(self) -> None:
|
||||
self.__reset_pins()
|
||||
self.__close_device()
|
||||
self.__stop = True
|
||||
|
||||
Reference in New Issue
Block a user