mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-13 15:23:33 +08:00
dsdlc: Fixed deoendency include order
This commit is contained in:
@@ -173,7 +173,7 @@ def generate_one_type(template_expander, t):
|
||||
return type_output_filename(t)
|
||||
if t.category == t.CATEGORY_ARRAY:
|
||||
return detect_include(t.value_type)
|
||||
return set(filter(None, [detect_include(x.type) for x in fields]))
|
||||
return list(sorted(set(filter(None, [detect_include(x.type) for x in fields]))))
|
||||
|
||||
if t.kind == t.KIND_MESSAGE:
|
||||
t.cpp_includes = fields_includes(t.fields)
|
||||
|
||||
Reference in New Issue
Block a user