fsfw/tests/src/fsfw_tests/unit/printChar.cpp
Robin Mueller ddcac2bbac
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
reapply clang format
2022-02-02 10:29:30 +01: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);
}