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

14 lines
197 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);
}
}