diff options
author | Maxim Devaev <[email protected]> | 2022-03-31 04:44:03 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-03-31 05:41:08 +0300 |
commit | 17412be3fead0e24290f5f704e964d3787e6a889 (patch) | |
tree | f46e92b3c43f3446df8093d3e1bef3c73ddc5810 /kvmd/plugins/ugpio | |
parent | c4ca7011bfdb0f24621ef4474eeec4d8d878bf84 (diff) |
get rid of otgbind's cleanup and fixed hid for this
Diffstat (limited to 'kvmd/plugins/ugpio')
-rw-r--r-- | kvmd/plugins/ugpio/otgbind.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kvmd/plugins/ugpio/otgbind.py b/kvmd/plugins/ugpio/otgbind.py index 43fc32fe..17da02a8 100644 --- a/kvmd/plugins/ugpio/otgbind.py +++ b/kvmd/plugins/ugpio/otgbind.py @@ -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: |