small adaption
This commit is contained in:
parent
dea2da9eee
commit
55e1e0b05c
@ -35,7 +35,7 @@ union structure_id_t {
|
|||||||
static constexpr uint32_t INVALID_OBJECT_ID = objects::NO_OBJECT;
|
static constexpr uint32_t INVALID_OBJECT_ID = objects::NO_OBJECT;
|
||||||
static constexpr uint32_t INVALID_SET_ID = -1;
|
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)
|
constexpr structure_id_t(object_id_t objectId, uint32_t setId)
|
||||||
: objectId(objectId), ownerSetId(setId) {}
|
: objectId(objectId), ownerSetId(setId) {}
|
||||||
@ -43,9 +43,8 @@ union structure_id_t {
|
|||||||
struct {
|
struct {
|
||||||
object_id_t objectId;
|
object_id_t objectId;
|
||||||
/**
|
/**
|
||||||
* A generic 32 bit ID to identify unique HK packets for a single
|
* A generic 32 bit ID to identify unique HK set packets for a single
|
||||||
* object. For example, the DeviceCommandId_t is used for
|
* object.
|
||||||
* DeviceHandlers
|
|
||||||
*/
|
*/
|
||||||
uint32_t ownerSetId;
|
uint32_t ownerSetId;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user