add tuh_hid_itf_get_info() and change tuh_cdc_itf_get_info() to use new tuh_itf_info_t

This commit is contained in:
hathach
2023-03-22 10:00:42 +07:00
parent f8a5cde3c7
commit f27486e19a
8 changed files with 58 additions and 24 deletions

View File

@@ -105,7 +105,13 @@ def get_a_dep(d):
if __name__ == "__main__":
status = 0
deps = list(deps_mandatory.keys()) + sys.argv[1:]
deps = list(deps_mandatory.keys())
# get all if executed with all as argument
if len(sys.argv) == 2 and sys.argv[1] == 'all':
deps += deps_optional
else:
deps += sys.argv[1:]
with Pool() as pool:
status = sum(pool.map(get_a_dep, deps))
sys.exit(status)