testArduino/fsfw/unittest/core/printChar.cpp

11 lines
214 B
C++
Raw Normal View History

2021-06-21 15:04:15 +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);
}