Skip to content

Commit

Permalink
Wrt. discussion 17, #2289 added copy of enum serialize_type from enum…
Browse files Browse the repository at this point in the history
… XML to topology dictionary (#2419)

Co-authored-by: Jack White <jack.white@redwirespaceeurope.com>
  • Loading branch information
JackNWhite and Jack White committed Dec 20, 2023
1 parent 1e96e67 commit 6641547
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Autocoders/Python/src/fprime_ac/utils/TopDictGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ def __check_enum_files(self, enum_file_list):
enum_elem = etree.Element("enum")
enum_type = enum_model.get_namespace() + "::" + enum_model.get_name()
enum_elem.attrib["type"] = enum_type
if enum_model.get_serialize_type():
enum_elem.attrib["serialize_type"] = enum_model.get_serialize_type()
enum_value = 0
for (
member_name,
Expand Down

0 comments on commit 6641547

Please sign in to comment.