eive-obsw/mission/system/objects/PayloadSubsystem.cpp
Robin Mueller 192c7c6f31
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
payload mode announce
2023-03-14 11:21:37 +01:00

14 lines
548 B
C++

#include "PayloadSubsystem.h"
#include "mission/payloadDefs.h"
PayloadSubsystem::PayloadSubsystem(object_id_t setObjectId, uint32_t maxNumberOfSequences,
uint32_t maxNumberOfTables)
: Subsystem(setObjectId, maxNumberOfSequences, maxNumberOfTables) {}
void PayloadSubsystem::announceMode(bool recursive) {
const char* modeStr = payload::getModeStr(static_cast<payload::Mode>(mode));
sif::info << "PAYLOAD subsystem is now in " << modeStr << " mode" << std::endl;
Subsystem::announceMode(recursive);
}