diff options
author | Karel Kočí <cynerd@email.cz> | 2015-10-11 23:21:07 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-10-11 23:21:07 +0200 |
commit | 8fa9db4244f4ee33aa47561c569edfa62fe37928 (patch) | |
tree | 96bdc3dd01af3f435facf4aaceb8442b01f657d7 /src/usart.c | |
parent | 62c4883af719f5bacd197257387a0071c625e469 (diff) | |
download | avr-ioe-8fa9db4244f4ee33aa47561c569edfa62fe37928.tar.gz avr-ioe-8fa9db4244f4ee33aa47561c569edfa62fe37928.tar.bz2 avr-ioe-8fa9db4244f4ee33aa47561c569edfa62fe37928.zip |
Fixes in USART and changes in ave-ioe.mk
Diffstat (limited to 'src/usart.c')
-rw-r--r-- | src/usart.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 |