mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +08:00
fix
This commit is contained in:
parent
04720ffe18
commit
32fb465ad4
@ -281,7 +281,7 @@ class UserGpio:
|
||||
await self.__notifier.wait()
|
||||
|
||||
def sysprep(self) -> None:
|
||||
get_logger().info("Preparing User-GPIO drivers ...")
|
||||
get_logger(0).info("Preparing User-GPIO drivers ...")
|
||||
for (_, driver) in tools.sorted_kvs(self.__drivers):
|
||||
driver.prepare()
|
||||
|
||||
|
||||
@ -115,7 +115,7 @@ class Plugin(BaseHid): # pylint: disable=too-many-instance-attributes
|
||||
|
||||
def sysprep(self) -> None:
|
||||
udc = usb.find_udc(self.__udc)
|
||||
get_logger().info("Using UDC %s", udc)
|
||||
get_logger(0).info("Using UDC %s", udc)
|
||||
self.__keyboard_proc.start(udc)
|
||||
self.__mouse_proc.start(udc)
|
||||
if self.__mouse_alt_proc:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user