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

This commit is contained in:
Giovanni Di Sirio 2022-09-02 12:20:15 +00:00
parent 9973422f43
commit c35225ea9b
1 changed files with 1 additions and 2 deletions

View File

@ -565,9 +565,8 @@ sioevents_t sio_lld_get_and_clear_errors(SIODriver *siop) {
/* Clearing captured events.*/
siop->usart->ICR = isr;
/* Status flags cleared, now the RX-related interrupts can be
/* Status flags cleared, now the error-related interrupts can be
enabled again.*/
usart_enable_rx_irq(siop);
usart_enable_rx_errors_irq(siop);
/* Translating the status flags in SIO events.*/