mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
drivers/serial/serial_dma.c: Fix typo error in uart_recvchars_dma()
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user