fsfw-example-hosted/bsp_hosted/utility/printChar.c

14 lines
197 B
C
Raw Normal View History

2021-06-08 13:36:08 +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);
}
}