mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -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
|
//Event of UART ring buffer full
|
||||||
case UART_BUFFER_FULL:
|
case UART_BUFFER_FULL:
|
||||||
ESP_LOGI(TAG, "ring 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.
|
// As an example, we directly flush the rx buffer here in order to read more data.
|
||||||
uart_flush_input(EX_UART_NUM);
|
uart_flush_input(EX_UART_NUM);
|
||||||
xQueueReset(uart0_queue);
|
xQueueReset(uart0_queue);
|
||||||
|
Loading…
Reference in New Issue
Block a user