fsfw-example-linux-mcu/bsp_linux/utility/printChar.c

13 lines
199 B
C
Raw Normal View History

2021-06-11 12:50:14 +02:00
#include <stdio.h>
#include <stdbool.h>
void printChar(const char* character, bool errStream) {
if(errStream) {
fprintf( stderr, "%c", *character);
} else {
printf("%c", *character);
}
}