From b1bfd70e54b1992125fe2116b69c88572b89f896 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 5 Jun 2019 18:04:17 +0200 Subject: [PATCH] stdio_uart: adapt for isrpipe API change --- sys/stdio_uart/stdio_uart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/stdio_uart/stdio_uart.c b/sys/stdio_uart/stdio_uart.c index 91c9ff91c6..031f6d2319 100644 --- a/sys/stdio_uart/stdio_uart.c +++ b/sys/stdio_uart/stdio_uart.c @@ -48,7 +48,7 @@ extern ethos_t ethos; #include "debug.h" #ifdef MODULE_STDIO_UART_RX -static char _rx_buf_mem[STDIO_UART_RX_BUFSIZE]; +static uint8_t _rx_buf_mem[STDIO_UART_RX_BUFSIZE]; isrpipe_t stdio_uart_isrpipe = ISRPIPE_INIT(_rx_buf_mem); #endif @@ -81,7 +81,7 @@ void stdio_init(void) ssize_t stdio_read(void* buffer, size_t count) { #ifdef MODULE_STDIO_UART_RX - return (ssize_t)isrpipe_read(&stdio_uart_isrpipe, (char *)buffer, count); + return (ssize_t)isrpipe_read(&stdio_uart_isrpipe, buffer, count); #else (void)buffer; (void)count;