correct init value for object ID
This commit is contained in:
parent
ed2c2af4a0
commit
8c2105ae0a
@ -1,11 +1,13 @@
|
|||||||
#ifndef FSFW_SRC_FSFW_IPC_DEFINITIONS_H_
|
#ifndef FSFW_SRC_FSFW_IPC_DEFINITIONS_H_
|
||||||
#define FSFW_SRC_FSFW_IPC_DEFINITIONS_H_
|
#define FSFW_SRC_FSFW_IPC_DEFINITIONS_H_
|
||||||
|
|
||||||
#include <fsfw/objectmanager/SystemObjectIF.h>
|
#include <fsfw/objectmanager/SystemObjectIF.h>
|
||||||
|
#include <fsfw/objectmanager/frameworkObjects.h>
|
||||||
|
|
||||||
struct MqArgs {
|
struct MqArgs {
|
||||||
MqArgs(){};
|
MqArgs(){};
|
||||||
MqArgs(object_id_t objectId, void* args = nullptr) : objectId(objectId), args(args) {}
|
MqArgs(object_id_t objectId, void* args = nullptr) : objectId(objectId), args(args) {}
|
||||||
object_id_t objectId = 0;
|
object_id_t objectId = objects::NO_OBJECT;
|
||||||
void* args = nullptr;
|
void* args = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user