Update uart_events_example_main.c

Spelling correction
This commit is contained in:
ajit1433
2022-06-03 20:03:02 +05:30
committed by Omar Chebib
parent 5b39159e66
commit 39e0d72c05

View File

@@ -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);