summaryrefslogtreecommitdiff
path: root/common/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/console.c b/common/console.c
index 8f42dffbf5..9ee3dc5b13 100644
--- a/common/console.c
+++ b/common/console.c
@@ -279,10 +279,7 @@ static void console_init(void)
static int console_putc(int c)
{
- int rv1 = uart_putc(c);
- int rv2 = usb_putc(c);
-
- return rv1 == EC_SUCCESS ? rv2 : rv1;
+ return ccprintf("%c", c);
}
#ifndef CONFIG_EXPERIMENTAL_CONSOLE