Fixed incorrect enum value being used for GetITStatus on F4

This commit is contained in:
Andrey Mironov 2019-01-19 16:16:23 +03:00
parent 628fdb8adc
commit 4e5f0e3c54
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ void uartIrqHandler(uartPort_t *s)
}
}
if (USART_GetITStatus(s->USARTx, USART_FLAG_ORE) == SET)
if (USART_GetITStatus(s->USARTx, USART_IT_ORE) == SET)
{
USART_ClearITPendingBit (s->USARTx, USART_IT_ORE);
}