arch/arm/src/xmc4:xmc4_uart_configure() expects the channel# not uartbase as an input parameter.

This commit is contained in:
Alan Carvalho de Assis 2017-11-20 07:00:23 -06:00 committed by Gregory Nutt
parent d55e44b2ea
commit c117cdcf6b

View File

@ -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 */