rch/arm/src/max326xx/max32660/max32660_lowputc.c: Fix typo revealed only when flow control is enabled.

This commit is contained in:
Gregory Nutt 2018-11-27 17:49:44 -06:00
parent d164a2cf5b
commit 5da7dbaf98

View File

@ -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);