diff options
Diffstat (limited to 'src/console/console.c')
-rw-r--r-- | src/console/console.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/console/console.c b/src/console/console.c index b97ee8e1d5..90557436df 100644 --- a/src/console/console.c +++ b/src/console/console.c @@ -82,9 +82,10 @@ int console_tst_byte(void) */ void post_code(uint8_t value) { +#if !defined(NO_POST) #if CONFIG_SERIAL_POST==1 - printk_info("POST: 0x%02x\n", value); -#elsif !define(NO_POST) + printk_emerg("POST: 0x%02x\n", value); +#endif outb(value, 0x80); #endif } |