fsfw/unittest/core/printChar.cpp

11 lines
214 B
C++
Raw Normal View History

2020-10-20 17:11:23 +02:00
#include <fsfw/unittest/core/printChar.h>
#include <cstdio>
void printChar(const char* character, bool errStream) {
if(errStream) {
std::putc(*character, stderr);
return;
}
std::putc(*character, stdout);
}