diff options
Diffstat (limited to 'src/include/console/early_print.h')
-rw-r--r-- | src/include/console/early_print.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/console/early_print.h b/src/include/console/early_print.h index 173b6feb96..cde501a4ec 100644 --- a/src/include/console/early_print.h +++ b/src/include/console/early_print.h @@ -25,7 +25,7 @@ /* While in romstage, console loglevel is built-time constant. * With ROMCC we inline this test with help from preprocessor. */ -#define console_log_level(msg_level) (CONFIG_DEFAULT_CONSOLE_LOGLEVEL >= msg_level) +#define console_log_level(msg_level) (msg_level <= CONFIG_DEFAULT_CONSOLE_LOGLEVEL) #define CALL_CONSOLE_TX(loglevel, tx_func, x) \ do { \ |