correct init value for object ID

This commit is contained in:
Robin Müller 2022-04-11 14:00:37 +02:00
parent ed2c2af4a0
commit 8c2105ae0a
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

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