]> mj.ucw.cz Git - home-hw.git/commitdiff
Lib: Fixed silly bug
authorMartin Mares <mj@ucw.cz>
Tue, 9 Jul 2019 20:19:30 +0000 (22:19 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 9 Jul 2019 20:19:30 +0000 (22:19 +0200)
lib/util-debug.c

index ed1076d922f25b7463436dec7a05f49eaa647f7c..59ee644709c81bee1806d9ae7bb952db8bd74d51 100644 (file)
@@ -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
 }