git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15748 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

This commit is contained in:
Giovanni Di Sirio 2022-09-02 04:14:12 +00:00
parent ef58591f48
commit 30c98c85b7
1 changed files with 1 additions and 4 deletions

View File

@ -635,10 +635,7 @@ sioevents_t sio_lld_get_events(SIODriver *siop) {
uint32_t isr;
sioevents_t events;
/* Getting all ISR flags.
NOTE: Do not trust the position of other bits in ISR/ICR because
some scientist decided to use different positions for some
of them.*/
/* Getting all ISR flags.*/
isr = siop->usart->ISR & (SIO_LLD_ISR_RX_ERRORS |
USART_ISR_RXNE_RXFNE |
USART_ISR_IDLE |