drivers/serial/serial_dma.c: Fix typo error in uart_recvchars_dma()

This commit is contained in:
Xiang Xiao 2018-08-29 08:31:43 -06:00 committed by Gregory Nutt
parent d24f58c790
commit 51708745f6
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ void uart_recvchars_dma(FAR uart_dev_t *dev)
if (rxbuf->head == rxbuf->tail)
{
rxbuf->head = 0;
rxbuf->head = 0;
rxbuf->tail = 0;
}
/* Get the next head index and check if there is room to adding another