Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
STM32: serial: use proper macro to check interrupt #4707
Depending on families, different HAL macros are defined to check the
But in F0, F3, F7, L0, L4 there are 2 different macros
In the later case, __HAL_UART_GET_IT_SOURCE was being used so far,
This PR solves issue #3452
Tested with simple test that produce an overrun condition, and making sure the board won't freeze.