summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/ugpio/__init__.py')
-rw-r--r--kvmd/plugins/ugpio/__init__.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/kvmd/plugins/ugpio/__init__.py b/kvmd/plugins/ugpio/__init__.py
index e2f5943e..eae65891 100644
--- a/kvmd/plugins/ugpio/__init__.py
+++ b/kvmd/plugins/ugpio/__init__.py
@@ -75,19 +75,21 @@ class BaseUserGpioDriver(BasePlugin):
return set(UserGpioModes.ALL)
def register_input(self, pin: int, debounce: float) -> None:
- raise NotImplementedError
+ _ = pin
+ _ = debounce
def register_output(self, pin: int, initial: Optional[bool]) -> None:
- raise NotImplementedError
+ _ = pin
+ _ = initial
def prepare(self) -> None:
- raise NotImplementedError
+ pass
async def run(self) -> None:
- raise NotImplementedError
+ await aiotools.wait_infinite()
async def cleanup(self) -> None:
- raise NotImplementedError
+ pass
async def read(self, pin: int) -> bool:
raise NotImplementedError