esp32c3 uart_flush_input()函数

daodoa6
Posts: 1
Joined: Wed Jan 19, 2022 9:42 am

esp32c3 uart_flush_input()函数

Postby daodoa6 » Tue Jan 25, 2022 7:02 am

执行uart_flush_input(),不能清空ringbuffer的数据。串口read依然读到了数据?是我对这个函数理解错了么
Attachments
QQ截图20220125144628.png
QQ截图20220125144628.png (22.37 KiB) Viewed 985 times

Who is online

Users browsing this forum: old5th and 18 guests