diff --git a/src/fprime_gds/common/loaders/xml_loader.py b/src/fprime_gds/common/loaders/xml_loader.py index ed577f27..38ebf2e9 100644 --- a/src/fprime_gds/common/loaders/xml_loader.py +++ b/src/fprime_gds/common/loaders/xml_loader.py @@ -220,10 +220,7 @@ def get_enum_type(self, enum_name, xml_obj): # Check enum name if enum.get(self.ENUM_TYPE_TAG) == enum_name: # Get serialize/representation type, if present - serialize_type = enum.get(self.ENUM_SERIALIZE_TYPE_TAG) - - if not serialize_type: - serialize_type = "I32" + serialize_type = enum.get(self.ENUM_SERIALIZE_TYPE_TAG, "I32") # Go through all possible values of the enum members = {}