Skip to content

Commit

Permalink
[ocaml] fix expanded config generation
Browse files Browse the repository at this point in the history
when modules where unloaded, the xml node without tag name was causing a
parsing error when extrating the binary data with sd2log tool
  • Loading branch information
gautierhattenberger committed Jun 30, 2017
1 parent 6a72c5d commit e5f1d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/lib/ocaml/env.ml
Expand Up @@ -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

Expand Down

0 comments on commit e5f1d63

Please sign in to comment.