提交 03066e42 编写于 作者: R Roman Savrulin 提交者: Me No Dev

Flush UART RX queue too (#3009)

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册