mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 05:34:32 +02:00
Update uart_events_example_main.c
Spelling correction
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user