From cf0532e784c0c4c76abeee1dacc60e24b676f1dc Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sat, 28 May 2016 19:22:51 -0500 Subject: [PATCH] Make uart_putchar() and uart_getchar() compatible with avr-libc stdio layer --- include/tabby/avr/uart.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tabby/avr/uart.h b/include/tabby/avr/uart.h index 4bfdcbf..55c34a1 100644 --- a/include/tabby/avr/uart.h +++ b/include/tabby/avr/uart.h @@ -5,8 +5,8 @@ void uart_init(); -void uart_putchar(char c, FILE *fh); +int uart_putchar(char c, FILE *fh); -char uart_getchar(FILE *fh); +int uart_getchar(FILE *fh); #endif /* _TABBY_AVR_UART_H */