summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-04-09 05:57:04 +0300
committerDevaev Maxim <[email protected]>2021-04-09 05:57:04 +0300
commit6f60118320ed0c12a51f1d189b196c3e86aebaa7 (patch)
tree0ff5ec83da45775e3fef12e3662f5ba3b94f9d5d /kvmd/plugins/ugpio/__init__.py
parent6cc161427a0fceff2c010cc60c56d1d1ef7381a4 (diff)
async gpio plugins
Diffstat (limited to 'kvmd/plugins/ugpio/__init__.py')
-rw-r--r--kvmd/plugins/ugpio/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/ugpio/__init__.py b/kvmd/plugins/ugpio/__init__.py
index a3e24851..2a172c63 100644
--- a/kvmd/plugins/ugpio/__init__.py
+++ b/kvmd/plugins/ugpio/__init__.py
@@ -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