rch/arm/src/max326xx/max32660/max32660_lowputc.c: Fix typo revealed only when flow control is enabled.
This commit is contained in:
parent
d164a2cf5b
commit
5da7dbaf98
@ -325,7 +325,7 @@ void max326_uart_configure(uintptr_t base,
|
||||
regval = UART_CTRL1_RXFIFOLVL(config->rxlevel) |
|
||||
UART_CTRL1_TXFIFOLVL(config->txlevel);
|
||||
#ifdef CONFIG_SERIAL_IFLOWCONTROL
|
||||
regval = UART_CTRL1_RTSFIFOLVL(config->rtslevel) |
|
||||
regval |= UART_CTRL1_RTSFIFOLVL(config->rtslevel);
|
||||
#endif
|
||||
putreg32(regval, base + MAX326_UART_CTRL1_OFFSET);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user