Skip to content

Commit c07ed62

Browse files
committed
Fixup#2
1 parent b3b3001 commit c07ed62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mbed-hal/serial_api.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ void serial_putc(serial_t *obj, int c);
187187
int serial_readable(serial_t *obj);
188188

189189
/** Returns any errors that were encountered by the serial peripheral:
190-
* RX overrun, parity error, framing error, or FIFO overflow.
190+
* RX overrun, parity error, framing error, or FIFO overflow. All the
191+
* error flags are cleared after the function call.
191192
*
192193
* The return value is a bit field where one bit represents one error
193194
* type (in the above mentioned order, the least significant bit first).

0 commit comments

Comments
 (0)