mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 10:31:54 +08:00
refactoring
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user