diff options
Diffstat (limited to 'src')
-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 |