aboutsummaryrefslogtreecommitdiff
path: root/src/include/console/early_print.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/console/early_print.h')
-rw-r--r--src/include/console/early_print.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/console/early_print.h b/src/include/console/early_print.h
index bd125001d9..173b6feb96 100644
--- a/src/include/console/early_print.h
+++ b/src/include/console/early_print.h
@@ -28,9 +28,9 @@
#define console_log_level(msg_level) (CONFIG_DEFAULT_CONSOLE_LOGLEVEL >= msg_level)
#define CALL_CONSOLE_TX(loglevel, tx_func, x) \
- do { \
- if (console_log_level(loglevel)) { \
- tx_func(x); \
+ do { \
+ if (console_log_level(loglevel)) { \
+ tx_func(x); \
console_tx_flush(); \
} \
} while (0)