mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 14:18:00 +08:00
[airframe editor] reorganize xml in fixed order for comparison - add description
This commit is contained in:
@@ -44,6 +44,8 @@ def reorganize_airframe_xml(airframe_xml):
|
||||
else:
|
||||
airframe.set('name', airframe_xml.getroot().get('name'))
|
||||
|
||||
find_and_add(airframe_xml, airframe, "description")
|
||||
|
||||
find_or_add_group(airframe_xml, airframe, "FIRMWARE")
|
||||
find_and_add(airframe_xml, airframe, "firmware")
|
||||
find_and_add_sections_with_name(airframe_xml, airframe, "AUTOPILOT")
|
||||
|
||||
Reference in New Issue
Block a user