From dbf3be697de3a3a79571c2aa9945f7eb1cf8932f Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Tue, 11 Oct 2011 21:54:31 +0000 Subject: [PATCH] Fix return code --- drivers/avr/ir_uart.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/avr/ir_uart.c b/drivers/avr/ir_uart.c index 34ef792..c000811 100644 --- a/drivers/avr/ir_uart.c +++ b/drivers/avr/ir_uart.c @@ -47,7 +47,8 @@ ir_uart_write_finished_p (void) int8_t ir_uart_putc (char ch) { - return usart1_putc (ch); + usart1_putc (ch); + return 1; }