fsfw/src/fsfw_hal/common/printChar.c

11 lines
224 B
C
Raw Normal View History

2022-09-02 08:50:39 +02:00
#include <stdio.h>
#include <stdbool.h>
void __attribute__((weak)) printChar(const char* character, bool errStream) {
if (errStream) {
fprintf(stderr, "%c", *character);
} else {
printf("%c", *character);
}
}