small clang tidy stuff
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
parent
a7d3f2c3f8
commit
67e9dc9090
@ -53,8 +53,8 @@ ReturnValue_t PusTmFunnel::performOperation(uint8_t) {
|
||||
CommandMessage cmdMessage;
|
||||
ReturnValue_t status = tcQueue->receiveMessage(&cmdMessage);
|
||||
if (status == returnvalue::OK) {
|
||||
ReturnValue_t result = handleTcRequest(cmdMessage);
|
||||
if(result != returnvalue::OK) {
|
||||
ReturnValue_t result = handleTcRequest(cmdMessage);
|
||||
if (result != returnvalue::OK) {
|
||||
sif::error << "PusTmFunnel::performOperation: Error handling TC request" << std::endl;
|
||||
}
|
||||
}
|
||||
|
@ -6,12 +6,12 @@
|
||||
#include <fsfw/tasks/ExecutableObjectIF.h>
|
||||
#include <fsfw/tmtcservices/AcceptsTelemetryIF.h>
|
||||
#include <fsfw/tmtcservices/TmTcMessage.h>
|
||||
#include "fsfw/ipc/CommandMessage.h"
|
||||
#include <mission/tmtc/TmFunnelBase.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "PersistentTmStore.h"
|
||||
#include "fsfw/ipc/CommandMessage.h"
|
||||
#include "fsfw/timemanager/TimeReaderIF.h"
|
||||
|
||||
/**
|
||||
@ -44,7 +44,7 @@ class PusTmFunnel : public TmFunnelBase {
|
||||
TmStore hkStore;
|
||||
SdCardMountedIF &sdcMan;
|
||||
|
||||
ReturnValue_t handleTcRequest(CommandMessage& msg);
|
||||
ReturnValue_t handleTcRequest(CommandMessage &msg);
|
||||
ReturnValue_t handleTmPacket(TmTcMessage &message);
|
||||
void initStoresIfPossible(bool sdCardUsable);
|
||||
ReturnValue_t initialize() override;
|
||||
|
@ -16,14 +16,14 @@ Service15TmStorage::Service15TmStorage(object_id_t objectId, uint16_t apid,
|
||||
|
||||
ReturnValue_t Service15TmStorage::isValidSubservice(uint8_t subservice) {
|
||||
switch (subservice) {
|
||||
case (Subservices::DELETE_UP_TO):
|
||||
case (Subservices::START_BY_TIME_RANGE_RETRIEVAL): {
|
||||
return OK;
|
||||
}
|
||||
case (Subservices::DELETE_UP_TO): {
|
||||
return OK;
|
||||
default: {
|
||||
return FAILED;
|
||||
}
|
||||
}
|
||||
return FAILED;
|
||||
}
|
||||
|
||||
ReturnValue_t Service15TmStorage::getMessageQueueAndObject(uint8_t subservice,
|
||||
|
Loading…
Reference in New Issue
Block a user