aboutsummaryrefslogtreecommitdiff
path: root/src/console/post.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/post.c')
-rw-r--r--src/console/post.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/post.c b/src/console/post.c
index 49f6311303..3872c2d4fe 100644
--- a/src/console/post.c
+++ b/src/console/post.c
@@ -26,8 +26,8 @@
void post_code(uint8_t value)
{
-#if !defined(CONFIG_NO_POST) || CONFIG_NO_POST==0
-#if CONFIG_CONSOLE_POST==1
+#if !CONFIG_NO_POST
+#if CONFIG_CONSOLE_POST
print_emerg("POST: 0x");
print_emerg_hex8(value);
print_emerg("\n");