From 73d0656f645b644d053edea6ec39ace481ed61ab Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Mon, 7 Sep 2020 06:07:03 +0300 Subject: fix --- kvmd/apps/kvmd/ugpio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kvmd/apps') 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) # ===== -- cgit v1.2.3