fsfw-example-hosted/bsp_hosted/utility/printChar.c
Robin Mueller d2337a769c
All checks were successful
fsfw/fsfw example hosted/pipeline/head This commit looks good
apply auto-formatter
2022-05-05 20:55:48 +02:00

11 lines
202 B
C

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