refactoring

This commit is contained in:
Maxim Devaev
2021-09-07 08:55:49 +03:00
parent ce5cd50d51
commit cc5b2a42b8
7 changed files with 7 additions and 52 deletions

View File

@@ -97,9 +97,6 @@ class Plugin(BaseUserGpioDriver):
logger.error("Can't get PWM chip %d channel %d: %s",
self.__chip, pin, tools.efmt(err))
async def run(self) -> None:
await aiotools.wait_infinite()
async def cleanup(self) -> None:
for (pin, pwm) in self.__pwms.items():
try: