Commit 03066e42 authored by Roman Savrulin's avatar Roman Savrulin Committed by Me No Dev

Flush UART RX queue too (#3009)

parent cd5257ad
......@@ -343,6 +343,8 @@ void uartFlush(uart_t* uart)
READ_PERI_REG(UART_FIFO_REG(uart->num));
}
xQueueReset(uart->queue);
UART_MUTEX_UNLOCK();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment