mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 10:31:54 +08:00
async gpio plugins
This commit is contained in:
@@ -89,10 +89,10 @@ class BaseUserGpioDriver(BasePlugin):
|
||||
def cleanup(self) -> None:
|
||||
raise NotImplementedError
|
||||
|
||||
def read(self, pin: int) -> bool:
|
||||
async def read(self, pin: int) -> bool:
|
||||
raise NotImplementedError
|
||||
|
||||
def write(self, pin: int, state: bool) -> None:
|
||||
async def write(self, pin: int, state: bool) -> None:
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user