summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvmd/plugins/atx/gpio.py1
-rw-r--r--kvmd/plugins/ugpio/gpio.py4
2 files changed, 1 insertions, 4 deletions
diff --git a/kvmd/plugins/atx/gpio.py b/kvmd/plugins/atx/gpio.py
index aed086ae..91ab7b5f 100644
--- a/kvmd/plugins/atx/gpio.py
+++ b/kvmd/plugins/atx/gpio.py
@@ -116,7 +116,6 @@ class Plugin(BaseAtx): # pylint: disable=too-many-instance-attributes
await self.__state_notifier.wait()
async def systask(self) -> None:
- get_logger(0).info("Polling GPIO ATX inputs ...")
await self.__reader.poll()
async def cleanup(self) -> None:
diff --git a/kvmd/plugins/ugpio/gpio.py b/kvmd/plugins/ugpio/gpio.py
index 04afc75d..526397e1 100644
--- a/kvmd/plugins/ugpio/gpio.py
+++ b/kvmd/plugins/ugpio/gpio.py
@@ -78,9 +78,7 @@ class Plugin(BaseUserGpioDriver):
await self.__reader.poll()
def read(self, pin: int) -> bool:
- assert self.__reader
- return self.__reader.get(pin)
+ return gpio.read(pin)
def write(self, pin: int, state: bool) -> None:
- assert self.__reader
gpio.write(pin, state)