fsfw/unittests/printChar.cpp
Robin Mueller 8465670374
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
separate unittest folder
2022-07-18 11:42:51 +02:00

12 lines
204 B
C++

#include "printChar.h"
#include <cstdio>
void printChar(const char* character, bool errStream) {
if (errStream) {
std::putc(*character, stderr);
return;
}
std::putc(*character, stdout);
}