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

13 lines
199 B
C

#include <stdio.h>
#include <stdbool.h>
void printChar(const char* character, bool errStream) {
if(errStream) {
fprintf( stderr, "%c", *character);
} else {
printf("%c", *character);
}
}