arch/arm/src/xmc4:xmc4_uart_configure() expects the channel# not uartbase as an input parameter.
This commit is contained in:
parent
d55e44b2ea
commit
c117cdcf6b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user