From 55e1e0b05cbebc6d10d3725cc18e2d2f8cb692e3 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 15 Nov 2024 10:49:52 +0100 Subject: [PATCH] small adaption --- src/fsfw/datapool/definitions.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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; };