mirror of
https://github.com/apache/nuttx.git
synced 2026-08-28 21:00:44 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue