mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
get rid of otgbind's cleanup and fixed hid for this
This commit is contained in:
@@ -92,10 +92,6 @@ class Plugin(BaseUserGpioDriver):
|
||||
except Exception:
|
||||
logger.exception("Unexpected OTG-bind watcher error")
|
||||
|
||||
async def cleanup(self) -> None:
|
||||
with open(self.__ctl_path) as ctl_file:
|
||||
ctl_file.write(self.__udc)
|
||||
|
||||
async def read(self, pin: str) -> bool:
|
||||
_ = pin
|
||||
with open(self.__ctl_path) as ctl_file:
|
||||
|
||||
Reference in New Issue
Block a user