Add initial version stamps to meta data

This commit is contained in:
Don Gagne
2016-03-04 19:58:27 -08:00
committed by Lorenz Meier
parent 29af484685
commit 07775f7629
2 changed files with 8 additions and 0 deletions

View File

@@ -22,6 +22,10 @@ class XMLOutput():
xml_parameters = ET.Element("airframes")
xml_version = ET.SubElement(xml_parameters, "version")
xml_version.text = "1"
xml_version = ET.SubElement(xml_parameters, "airframe_version_major")
xml_version.text = "1"
xml_version = ET.SubElement(xml_parameters, "airframe_version_minor")
xml_version.text = "1"
last_param_name = ""
board_specific_param_set = False
for group in groups: