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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user