diff options
author | Devaev Maxim <[email protected]> | 2020-09-07 12:16:53 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-09-07 13:33:13 +0300 |
commit | c2831853a04168571caa9e639af30a7a0cf6e75d (patch) | |
tree | c25112eda45d6114c126dade88d3bd7e65a3942b /kvmd/plugins/ugpio/gpio.py | |
parent | b56ff5034adab8d31bcad5d0a202de0ea18c437d (diff) |
minor relatime fixes
Diffstat (limited to 'kvmd/plugins/ugpio/gpio.py')
-rw-r--r-- | kvmd/plugins/ugpio/gpio.py | 4 |
1 files changed, 1 insertions, 3 deletions
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) |