mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 19:44:24 +08:00
Merge pull request #702 from AubrCool/fix-stm32f10x.txintisr.err
[BSP] correct stm32f10x txisr error
This commit is contained in:
@@ -262,7 +262,7 @@ static void uart_isr(struct rt_serial_device *serial) {
|
||||
{
|
||||
rt_hw_serial_isr(serial, RT_SERIAL_EVENT_TX_DONE);
|
||||
}
|
||||
USART_ITConfig(uart->uart_device, USART_IT_RXNE, DISABLE);
|
||||
USART_ITConfig(uart->uart_device, USART_IT_TC, DISABLE);
|
||||
USART_ClearITPendingBit(uart->uart_device, USART_IT_TC);
|
||||
}
|
||||
if (USART_GetFlagStatus(uart->uart_device, USART_FLAG_ORE) == SET)
|
||||
|
||||
Reference in New Issue
Block a user