diff --git a/fusee/fusee-primary/src/lib/log.c b/fusee/fusee-primary/src/lib/log.c index 0c979c050..4aa396d72 100644 --- a/fusee/fusee-primary/src/lib/log.c +++ b/fusee/fusee-primary/src/lib/log.c @@ -49,6 +49,9 @@ void vprint(ScreenLogLevel screen_log_level, const char *fmt, va_list args) char buf[PRINT_MESSAGE_MAX_LENGTH]; vsnprintf(buf, PRINT_MESSAGE_MAX_LENGTH, fmt, args); + /* we don't need that flag here, but if it gets used, strip it so we print correctly */ + screen_log_level &= ~SCREEN_LOG_LEVEL_NO_PREFIX; + /* log to UART */ log_to_uart(buf); diff --git a/fusee/fusee-secondary/src/lib/log.c b/fusee/fusee-secondary/src/lib/log.c index b4e8782c8..d4cae38b3 100644 --- a/fusee/fusee-secondary/src/lib/log.c +++ b/fusee/fusee-secondary/src/lib/log.c @@ -48,6 +48,9 @@ void vprint(ScreenLogLevel screen_log_level, const char *fmt, va_list args) char buf[PRINT_MESSAGE_MAX_LENGTH]; vsnprintf(buf, PRINT_MESSAGE_MAX_LENGTH, fmt, args); + /* we don't need that flag here, but if it gets used, strip it so we print correctly */ + screen_log_level &= ~SCREEN_LOG_LEVEL_NO_PREFIX; + /* log to UART */ log_to_uart(buf);