mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'contrib/github_pr_9095' into 'master'
Update uart_events_example_main.c (GitHub PR) Closes IDFGH-7532 See merge request espressif/esp-idf!18391
This commit is contained in:
commit
dd7fde8799
@ -69,7 +69,7 @@ static void uart_event_task(void *pvParameters)
|
||||
//Event of UART ring buffer full
|
||||
case UART_BUFFER_FULL:
|
||||
ESP_LOGI(TAG, "ring buffer full");
|
||||
// If buffer full happened, you should consider encreasing your buffer size
|
||||
// If buffer full happened, you should consider increasing your buffer size
|
||||
// As an example, we directly flush the rx buffer here in order to read more data.
|
||||
uart_flush_input(EX_UART_NUM);
|
||||
xQueueReset(uart0_queue);
|
||||
|
Loading…
Reference in New Issue
Block a user