mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +08:00
Tools: Support injecting param meta, do not generate code for these
This commit is contained in:
@@ -29,7 +29,7 @@ start_name = ""
|
||||
end_name = ""
|
||||
|
||||
for group in root:
|
||||
if group.tag == "group":
|
||||
if group.tag == "group" and "no_code_generation" not in group.attrib:
|
||||
header += """
|
||||
/*****************************************************************
|
||||
* %s
|
||||
@@ -62,7 +62,8 @@ struct px4_parameters_t px4_parameters = {
|
||||
"""
|
||||
i=0
|
||||
for group in root:
|
||||
if group.tag == "group":
|
||||
if group.tag == "group" and "no_code_generation" not in group.attrib:
|
||||
|
||||
src += """
|
||||
/*****************************************************************
|
||||
* %s
|
||||
|
||||
Reference in New Issue
Block a user