From 8fa9db4244f4ee33aa47561c569edfa62fe37928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 11 Oct 2015 23:21:07 +0200 Subject: Fixes in USART and changes in ave-ioe.mk --- src/usart.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/usart.c') diff --git a/src/usart.c b/src/usart.c index dca5878..5dd14b3 100644 --- a/src/usart.c +++ b/src/usart.c @@ -185,12 +185,12 @@ FILE *usart_async_open(void) { usart_init_async(); #ifdef CONFIG_IOE_USART_OUTFILE #ifdef CONFIG_IOE_USART_INFILE - return fdevopen(spiput, spiget); + return fdevopen(usartput, usartget); #else - return fdevopen(spiput, 0); + return fdevopen(usartput, 0); #endif #else - return fdevopen(0, spiget); + return fdevopen(0, usartget); #endif } #endif -- cgit v1.2.3