mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
arch/arm/src/xmc4:xmc4_uart_configure() expects the channel# not uartbase as an input parameter.
This commit is contained in:
committed by
Gregory Nutt
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 */
|
||||
|
||||
Reference in New Issue
Block a user