From: Jeroen Domburg Date: Thu, 15 Dec 2016 01:44:21 +0000 (+0800) Subject: Update examples in uart.h X-Git-Tag: v2.0-rc1~133^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ed16758c04def3536339bfe69c7b46b9534d968;p=esp-idf Update examples in uart.h --- diff --git a/components/driver/include/driver/uart.h b/components/driver/include/driver/uart.h index 951ada929a..1d5320601e 100644 --- a/components/driver/include/driver/uart.h +++ b/components/driver/include/driver/uart.h @@ -610,10 +610,10 @@ esp_err_t uart_flush(uart_port_t uart_num); * //b1. Setup UART driver(with UART queue) * QueueHandle_t uart_queue; * //parameters here are just an example, tx buffer size is 2048 - * uart_driver_install(uart_num, 1024 * 2, 1024 * 2, 10, UART_INTR_NUM, &uart_queue); + * uart_driver_install(uart_num, 1024 * 2, 1024 * 2, 10, &uart_queue, 0); * //b2. Setup UART driver(without UART queue) * //parameters here are just an example, tx buffer size is 0 - * uart_driver_install(uart_num, 1024 * 2, 0, 10, UART_INTR_NUM, NULL); + * uart_driver_install(uart_num, 1024 * 2, 0, 10, NULL, 0); *@endcode *-----------------------------------------------------------------------------* * @code{c}