From: Martin Mares Date: Tue, 9 Jul 2019 20:19:30 +0000 (+0200) Subject: Lib: Fixed silly bug X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7f5c145f630595504988109c09a22ed807705398;p=home-hw.git Lib: Fixed silly bug --- 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 }