mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-02 13:27:32 +08:00
[ocaml] fix expanded config generation
when modules where unloaded, the xml node without tag name was causing a parsing error when extrating the binary data with sd2log tool
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@ let filter_modules_target = fun module_file ->
|
||||
List.filter (fun t ->
|
||||
Xml.tag t = "settings" && ExtXml.attrib_or_default t "name" "" = name)
|
||||
(Xml.children module_xml))
|
||||
else Xml.Element ("",[],[])
|
||||
else Xml.Element ("settings",[],[])
|
||||
end
|
||||
else module_xml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user