diff options
author | Maxim Devaev <[email protected]> | 2022-03-31 03:37:04 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-03-31 03:37:04 +0300 |
commit | 94dca7d7c677b62b1e8645afcf721118c7a60833 (patch) | |
tree | 1809700273efa6db8cec9cbdd0532451aa985f5c /kvmd/apps | |
parent | ed93f1f4d30031b90c45469b2a6651fdce826f33 (diff) |
simplified find_udc()
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/otg/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/otg/__init__.py b/kvmd/apps/otg/__init__.py index 11fa83a3..428f20ab 100644 --- a/kvmd/apps/otg/__init__.py +++ b/kvmd/apps/otg/__init__.py @@ -186,7 +186,7 @@ def _cmd_start(config: Section) -> None: # pylint: disable=too-many-statements _check_config(config) - udc = usb.find_udc(config.otg.udc)[0] + udc = usb.find_udc(config.otg.udc) logger.info("Using UDC %s", udc) logger.info("Creating gadget %r ...", config.otg.gadget) |