Update a readme and some comments.

This commit is contained in:
Gregory Nutt
2018-05-27 15:13:54 -06:00
parent f3392e0a6c
commit c74e9fd6da
2 changed files with 12 additions and 2 deletions
+6 -1
View File
@@ -474,7 +474,12 @@ static int uart_tcdrain(FAR uart_dev_t *dev, systime_t timeout)
* this event, so we have to do a busy wait poll.
*/
/* Set up for the timeout */
/* Set up for the timeout
*
* REVISIT: This is a kludge. The correct fix would be add an
* interface to the lower half driver so that the tcflush() operation
* all also cause the lower half driver to clear and reset the Tx FIFO.
*/
start = clock_systimer();