diff --git a/src/fsfw/datapool/definitions.h b/src/fsfw/datapool/definitions.h index eacab98a..8f57ffb8 100644 --- a/src/fsfw/datapool/definitions.h +++ b/src/fsfw/datapool/definitions.h @@ -35,7 +35,7 @@ union structure_id_t { static constexpr uint32_t INVALID_OBJECT_ID = objects::NO_OBJECT; static constexpr uint32_t INVALID_SET_ID = -1; - structure_id_t() : raw(INVALID_SID) {} + constexpr structure_id_t() : raw(INVALID_SID) {} constexpr structure_id_t(object_id_t objectId, uint32_t setId) : objectId(objectId), ownerSetId(setId) {} @@ -43,9 +43,8 @@ union structure_id_t { struct { object_id_t objectId; /** - * A generic 32 bit ID to identify unique HK packets for a single - * object. For example, the DeviceCommandId_t is used for - * DeviceHandlers + * A generic 32 bit ID to identify unique HK set packets for a single + * object. */ uint32_t ownerSetId; };