all cstdout uses wrapped in preprocessor defines
This commit is contained in:
container
controller
datalinklayer
Clcw.cppDataLinkLayer.cppMapPacketExtraction.cppTcTransferFrame.cppTcTransferFrameLocal.cppVirtualChannelReception.cpp
datapool
datapoollocal
HasLocalDataPoolIF.hLocalDataPoolManager.cppLocalDataPoolManager.hLocalPoolDataSetBase.cppLocalPoolObjectBase.cppLocalPoolVariable.tppLocalPoolVector.tppPoolReadHelper.h
defaultcfg/fsfwconfig/pollingsequence
devicehandlers
events
fdir
globalfunctions
health
internalError
ipc
memory
monitoring
objectmanager
osal
FreeRTOS
BinSemaphUsingTask.cppBinarySemaphore.cppCountingSemaphUsingTask.cppCountingSemaphore.cppFixedTimeslotTask.cppMessageQueue.cppMutex.cppPeriodicTask.cppSemaphoreFactory.cpp
host
Clock.cppFixedTimeslotTask.cppMessageQueue.cppPeriodicTask.cppQueueMapManager.cppSemaphoreFactory.cpp
linux
BinarySemaphore.cppClock.cppCountingSemaphore.cppFixedTimeslotTask.cppMessageQueue.cppMutex.cppPeriodicPosixTask.cppPosixThread.cppTcUnixUdpPollingTask.cppTimer.cppTmTcUnixUdpBridge.cpp
rtems
windows
parameters
pus
CService201HealthCommanding.cppService1TelecommandVerification.cppService2DeviceAccess.cppService3Housekeeping.cppService5EventReporting.cppService8FunctionManagement.cpp
serialize
storagemanager
subsystem
tasks
tcdistribution
timemanager
tmtcpacket/pus
tmtcservices
unittest
internal
user
@ -47,8 +47,10 @@ ReturnValue_t FixedTimeslotTask::addSlot(object_id_t componentId,
|
||||
return HasReturnvaluesIF::RETURN_OK;
|
||||
}
|
||||
|
||||
#if CPP_OSTREAM_ENABLED == 1
|
||||
sif::error << "Component " << std::hex << componentId <<
|
||||
" not found, not adding it to pst" << std::dec << std::endl;
|
||||
#endif
|
||||
return HasReturnvaluesIF::RETURN_FAILED;
|
||||
}
|
||||
|
||||
@ -91,7 +93,9 @@ void FixedTimeslotTask::taskFunctionality() {
|
||||
void FixedTimeslotTask::missedDeadlineCounter() {
|
||||
FixedTimeslotTask::deadlineMissedCount++;
|
||||
if (FixedTimeslotTask::deadlineMissedCount % 10 == 0) {
|
||||
#if CPP_OSTREAM_ENABLED == 1
|
||||
sif::error << "PST missed " << FixedTimeslotTask::deadlineMissedCount
|
||||
<< " deadlines." << std::endl;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user