eive-obsw/unittest/rebootLogic/src/print.c

11 lines
192 B
C
Raw Normal View History

2022-03-01 13:34:12 +01:00
#include <stdbool.h>
#include <stdio.h>
2022-03-01 13:34:12 +01:00
void printChar(const char* character, bool errStream) {
if (errStream) {
putc(*character, stderr);
return;
}
putc(*character, stdout);
}