1
0
forked from fsfw/fsfw

all cstdout uses wrapped in preprocessor defines

This commit is contained in:
2021-01-03 13:58:18 +01:00
parent 61fc6cac97
commit c19e628d79
96 changed files with 715 additions and 14 deletions
container
controller
datalinklayer
datapool
datapoollocal
defaultcfg/fsfwconfig/pollingsequence
devicehandlers
events
fdir
globalfunctions
health
internalError
ipc
memory
monitoring
objectmanager
osal
parameters
pus
serialize
storagemanager
subsystem
tasks
tcdistribution
timemanager
tmtcpacket/pus
tmtcservices
unittest

@ -4,8 +4,10 @@
CountingSemaphore::CountingSemaphore(const uint8_t maxCount, uint8_t initCount):
maxCount(maxCount), initCount(initCount) {
if(initCount > maxCount) {
#if CPP_OSTREAM_ENABLED == 1
sif::error << "CountingSemaphoreUsingTask: Max count bigger than "
"intial cout. Setting initial count to max count." << std::endl;
#endif
initCount = maxCount;
}