[HUST CSE]fix:Grammar error: An extra ') '

This commit is contained in:
meisiman 2023-04-14 22:22:28 +08:00 committed by Man, Jianting (Meco)
parent d4257aff20
commit 0acf4a764a

View File

@ -357,7 +357,7 @@ static void uart_isr(struct rt_serial_device *serial)
} }
USART_ClearFlag(uart->config->Instance, USART_IT_IDLE); USART_ClearFlag(uart->config->Instance, USART_IT_IDLE);
} }
else if (USART_GetFlagStatus(uart->config->Instance, USART_FLAG_TC) != RESET)) else if (USART_GetFlagStatus(uart->config->Instance, USART_FLAG_TC) != RESET)
{ {
if ((serial->parent.open_flag & RT_DEVICE_FLAG_DMA_TX) != 0) if ((serial->parent.open_flag & RT_DEVICE_FLAG_DMA_TX) != 0)
{ {