From 7f5c145f630595504988109c09a22ed807705398 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 9 Jul 2019 22:19:30 +0200 Subject: [PATCH] Lib: Fixed silly bug --- lib/util-debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util-debug.c b/lib/util-debug.c index ed1076d..59ee644 100644 --- a/lib/util-debug.c +++ b/lib/util-debug.c @@ -67,8 +67,8 @@ void debug_putc(int c) #endif #ifdef DEBUG_USART if (c == '\n') - usart_send_blocking(USART2, '\r'); - usart_send_blocking(USART2, c); + usart_send_blocking(DEBUG_USART, '\r'); + usart_send_blocking(DEBUG_USART, c); #endif } -- 2.39.2