mirror of https://github.com/rusefi/ChibiOS.git
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15751 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
9973422f43
commit
c35225ea9b
|
@ -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.*/
|
||||
|
|
Loading…
Reference in New Issue