add comment

pull/1340/head
Srod Karim 2015-07-28 11:34:00 +02:00 committed by Aksel Skauge Mellbye
parent 8972fab66c
commit 4b3a6e3f92
1 changed files with 1 additions and 0 deletions

View File

@ -1769,6 +1769,7 @@ void serial_rx_abort_asynch(serial_t *obj)
break;
}
/*clear all set iinterupts*/
if(LEUART_REF_VALID(obj->serial.periph.leuart)) {
LEUART_IntClear(obj->serial.periph.leuart, LEUART_IFC_PERR | LEUART_IFC_FERR | LEUART_IFC_RXOF);
}else{