summaryrefslogtreecommitdiff
path: root/kvmd/apps
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-09-07 06:07:03 +0300
committerDevaev Maxim <[email protected]>2020-09-07 06:07:03 +0300
commit73d0656f645b644d053edea6ec39ace481ed61ab (patch)
tree0454068bc2e9a7a9a1634a5aa6e9083a426f846a /kvmd/apps
parenta77b3cce27b75b02c43eac852dd95a7c83d35f44 (diff)
fix
Diffstat (limited to 'kvmd/apps')
-rw-r--r--kvmd/apps/kvmd/ugpio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/kvmd/ugpio.py b/kvmd/apps/kvmd/ugpio.py
index c8b4ddd9..b444a48e 100644
--- a/kvmd/apps/kvmd/ugpio.py
+++ b/kvmd/apps/kvmd/ugpio.py
@@ -284,11 +284,11 @@ class UserGpio:
raise GpioChannelNotFoundError()
return (await gout.switch(state))
- async def pulse(self, channel: str, delay: float) -> None:
+ async def pulse(self, channel: str, delay: float, wait: bool) -> None:
gout = self.__outputs.get(channel)
if gout is None:
raise GpioChannelNotFoundError()
- await gout.pulse(delay)
+ await gout.pulse(delay, wait)
# =====