summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
Diffstat (limited to 'src/console')
-rw-r--r--src/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/console.c b/src/console/console.c
index 0f6fb07406..5ec936d8ab 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -57,7 +57,7 @@ void console_tx_byte(unsigned char byte)
*/
void post_code(uint8_t value)
{
-#ifdef CONFIG_SERIAL_POST
+#if CONFIG_SERIAL_POST==1
printk_info("POST: 0x%02x\n", value);
#elsif !define(NO_POST)
outb(value, 0x80);