diff --git a/python/fusion_engine_client/messages/fault_control.py b/python/fusion_engine_client/messages/fault_control.py index 475bf67e..1a87d8f9 100644 --- a/python/fusion_engine_client/messages/fault_control.py +++ b/python/fusion_engine_client/messages/fault_control.py @@ -91,13 +91,13 @@ class CoComLimit(NamedTuple): "value" / AutoEnum(Int8ul, CoComType), ) - class IntegrityStatus(NamedTuple): + class IntegerVal(NamedTuple): """! - @brief Integrity status specifier. + @brief Integer value specifier. """ - value: Int8ul + value: int = 0 - IntegrityStatusConstruct = Struct( + UInt8Construct = Struct( "value" / Int8ul, ) @@ -174,8 +174,8 @@ class QuectelTest(_class_gen.Bool): """ pass - @_class_gen.create_payload_class(FaultType.INTEGRITY_STATUS, _class_gen.IntegrityStatusConstruct) - class IntegrityStatus(_class_gen.IntegrityStatus): + @_class_gen.create_payload_class(FaultType.INTEGRITY_STATUS, _class_gen.UInt8Construct) + class IntegrityStatus(_class_gen.IntegerVal): """! @brief Simulate a specified integrity status failure (intended for factory test purposes only). """