minor relatime fixes

This commit is contained in:
Devaev Maxim 2020-09-07 12:16:53 +03:00
parent b56ff5034a
commit c2831853a0
2 changed files with 1 additions and 4 deletions

View File

@ -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:

View File

@ -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)