small adaption

This commit is contained in:
Robin Müller 2024-11-15 10:49:52 +01:00
parent dea2da9eee
commit 55e1e0b05c
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -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;
};