diff options
| author | meisiman <[email protected]> | 2023-04-14 22:22:28 +0800 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2023-04-14 12:22:15 -0400 |
| commit | 0acf4a764a005e1fe79cfb8f34b8979dcea2b7c1 (patch) | |
| tree | f04dbd9c877263b56a52b7c351170d6fb6f71597 /bsp | |
| parent | d4257aff20a914b07f85d7fc191189c850fa44ae (diff) | |
[HUST CSE]fix:Grammar error: An extra ') '
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/ft32/libraries/Drivers/drv_usart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/ft32/libraries/Drivers/drv_usart.c b/bsp/ft32/libraries/Drivers/drv_usart.c index ee308c946c..5cbd353ea0 100644 --- a/bsp/ft32/libraries/Drivers/drv_usart.c +++ b/bsp/ft32/libraries/Drivers/drv_usart.c @@ -357,7 +357,7 @@ static void uart_isr(struct rt_serial_device *serial) } 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) { |
