1
0
forked from fsfw/fsfw

imrpoved form, removed comm msg for now

This commit is contained in:
2020-10-12 18:12:26 +02:00
parent 736ce2d5fd
commit afe5a62789
15 changed files with 46 additions and 414 deletions

View File

@ -1,11 +1,12 @@
#include "../devicehandlers/HealthDevice.h"
#include "HealthDevice.h"
#include "../ipc/QueueFactory.h"
HealthDevice::HealthDevice(object_id_t setObjectId,
MessageQueueId_t parentQueue) :
SystemObject(setObjectId), lastHealth(HEALTHY), parentQueue(
parentQueue), commandQueue(), healthHelper(this, setObjectId) {
commandQueue = QueueFactory::instance()->createMessageQueue(3, CommandMessage::MINIMUM_COMMAND_MESSAGE_SIZE);
commandQueue = QueueFactory::instance()->createMessageQueue(3,
CommandMessage::MINIMUM_COMMAND_MESSAGE_SIZE);
}
HealthDevice::~HealthDevice() {