mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 02:59:23 +08:00
ced7d5a34f
According to STM32 Manual, the USART RXNE flag will be clear automatically after read to the USART_DR register[1], so the call to USART_ClearITPendingBit is unnecessary. [1]: See RM0090 Reference Manual p.992, Bit 5