drivers/serial/serial_dma.c: Fix typo error in uart_recvchars_dma()
This commit is contained in:
parent
d24f58c790
commit
51708745f6
|
@ -206,7 +206,7 @@ void uart_recvchars_dma(FAR uart_dev_t *dev)
|
||||||
if (rxbuf->head == rxbuf->tail)
|
if (rxbuf->head == rxbuf->tail)
|
||||||
{
|
{
|
||||||
rxbuf->head = 0;
|
rxbuf->head = 0;
|
||||||
rxbuf->head = 0;
|
rxbuf->tail = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the next head index and check if there is room to adding another
|
/* Get the next head index and check if there is room to adding another
|
||||||
|
|
Loading…
Reference in New Issue