replaced all fsfw:: by sif:: for printouts

This commit is contained in:
2021-01-12 13:18:18 +01:00
parent 071ce21f09
commit 7e394ea15f
17 changed files with 72 additions and 72 deletions

View File

@ -114,7 +114,7 @@ uint8_t BinarySemaphore::getSemaphoreCounter(sem_t *handle) {
}
else if(result != 0 and errno == EINVAL) {
// Could be called from interrupt, use lightweight printf
fsfw::printError("BinarySemaphore::getSemaphoreCounter: "
sif::printError("BinarySemaphore::getSemaphoreCounter: "
"Invalid semaphore\n");
return 0;
}
@ -136,7 +136,7 @@ void BinarySemaphore::initSemaphore(uint8_t initCount) {
sif::error << "BinarySemaphore: Init failed with "
<< strerror(errno) << std::endl;
#else
fsfw::printError("BinarySemaphore: Init failed with %s\n",
sif::printError("BinarySemaphore: Init failed with %s\n",
strerror(errno));
#endif
}

View File

@ -127,7 +127,7 @@ ReturnValue_t MessageQueue::handleError(mq_attr* attributes,
sif::error << "MessageQueue::MessageQueue: Creating Queue " << name
<< " failed with status: " << strerror(errno) << std::endl;
#else
fsfw::printError("MessageQueue::MessageQueue: Creating Queue %s"
sif::printError("MessageQueue::MessageQueue: Creating Queue %s"
" failed with status: %s\n", name, strerror(errno));
#endif
}

View File

@ -151,7 +151,7 @@ void PosixThread::createTask(void* (*fnc_)(void*), void* arg_) {
sif::error << "PosixThread::createTask: Insufficient memory for"
" the requested " << stackMb << " MB" << std::endl;
#else
fsfw::printError("PosixThread::createTask: Insufficient memory for "
sif::printError("PosixThread::createTask: Insufficient memory for "
"the requested %zu MB\n", stackMb);
#endif
}
@ -160,7 +160,7 @@ void PosixThread::createTask(void* (*fnc_)(void*), void* arg_) {
sif::error << "PosixThread::createTask: Wrong alignment argument!"
<< std::endl;
#else
fsfw::printError("PosixThread::createTask: "
sif::printError("PosixThread::createTask: "
"Wrong alignment argument!\n");
#endif
}

View File

@ -193,7 +193,7 @@ void TmTcUnixUdpBridge::handleSendError() {
sif::error << "TmTcUnixBridge::handleSendError: "
<< strerror(errno) << std::endl;
#else
fsfw::printError("TmTcUnixBridge::handleSendError: %s\n",
sif::printError("TmTcUnixBridge::handleSendError: %s\n",
strerror(errno));
#endif
}