mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-13 00:21:37 +08:00
tools: update grouping lenghts
This commit is contained in:
@@ -168,7 +168,7 @@ if (args.group):
|
|||||||
for man in grouped_targets[arch]['manufacturers']:
|
for man in grouped_targets[arch]['manufacturers']:
|
||||||
for tar in grouped_targets[arch]['manufacturers'][man]:
|
for tar in grouped_targets[arch]['manufacturers'][man]:
|
||||||
if(last_man != man):
|
if(last_man != man):
|
||||||
if(len(grouped_targets[arch]['manufacturers'][man]) > 10):
|
if(len(grouped_targets[arch]['manufacturers'][man]) > 5):
|
||||||
group_name = arch + "-" + man
|
group_name = arch + "-" + man
|
||||||
targets = comma_targets(grouped_targets[arch]['manufacturers'][man])
|
targets = comma_targets(grouped_targets[arch]['manufacturers'][man])
|
||||||
last_man = man
|
last_man = man
|
||||||
@@ -183,7 +183,7 @@ if (args.group):
|
|||||||
temp_group.append(tar)
|
temp_group.append(tar)
|
||||||
# print('Temp(', len(temp_group), '):[', man, '][', arch, ':', last_arch, ']: ', tar)
|
# print('Temp(', len(temp_group), '):[', man, '][', arch, ':', last_arch, ']: ', tar)
|
||||||
|
|
||||||
if(len(temp_group) > 15):
|
if(len(temp_group) > 4):
|
||||||
group_name = arch + "-" + str(group_number[arch])
|
group_name = arch + "-" + str(group_number[arch])
|
||||||
last_arch = arch
|
last_arch = arch
|
||||||
group_number[arch] += 1
|
group_number[arch] += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user