diff options
Diffstat (limited to 'kvmd/apps/otgconf/__init__.py')
-rw-r--r-- | kvmd/apps/otgconf/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd/apps/otgconf/__init__.py b/kvmd/apps/otgconf/__init__.py index e1f4d66c..b57f0df1 100644 --- a/kvmd/apps/otgconf/__init__.py +++ b/kvmd/apps/otgconf/__init__.py @@ -134,6 +134,7 @@ class _GadgetControl: funcs = list(self.__read_metas()) eps_used = sum(func.eps for func in funcs if func.enabled) print(f"# Endpoints used: {eps_used} of {self.__eps}") + print(f"# Endpoints free: {self.__eps - eps_used}") for func in funcs: print(f"{'+' if func.enabled else '-'} {func.name} # [{func.eps}] {func.desc}") |