From c117cdcf6b8cced58d65194f65cdca3f00a6f3df Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Mon, 20 Nov 2017 07:00:23 -0600 Subject: [PATCH] arch/arm/src/xmc4:xmc4_uart_configure() expects the channel# not uartbase as an input parameter. --- arch/arm/src/xmc4/xmc4_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/xmc4/xmc4_serial.c b/arch/arm/src/xmc4/xmc4_serial.c index d9eaf0db53d..f983cab6a4d 100644 --- a/arch/arm/src/xmc4/xmc4_serial.c +++ b/arch/arm/src/xmc4/xmc4_serial.c @@ -644,7 +644,7 @@ static int xmc4_setup(struct uart_dev_s *dev) /* Configure the UART as an RS-232 UART */ - xmc4_uart_configure(priv->uartbase, &priv->config); + xmc4_uart_configure(priv->channel, &priv->config); #endif /* Make sure that all interrupts are disabled */