summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio/ezcoo.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/ugpio/ezcoo.py')
-rw-r--r--kvmd/plugins/ugpio/ezcoo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/ugpio/ezcoo.py b/kvmd/plugins/ugpio/ezcoo.py
index 04cb1c43..0605e54c 100644
--- a/kvmd/plugins/ugpio/ezcoo.py
+++ b/kvmd/plugins/ugpio/ezcoo.py
@@ -108,12 +108,12 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute
if self.__proc.exitcode is not None:
self.__proc.join()
- def read(self, pin: int) -> bool:
+ async def read(self, pin: int) -> bool:
if not self.__is_online():
raise GpioDriverOfflineError(self)
return (self.__channel == pin)
- def write(self, pin: int, state: bool) -> None:
+ async def write(self, pin: int, state: bool) -> None:
if not self.__is_online():
raise GpioDriverOfflineError(self)
if state and (0 <= pin <= 3):