From: Angus Gratton Date: Thu, 22 Dec 2016 02:44:50 +0000 (+1100) Subject: uart driver: Remove invalid UART_BITRATE_115200 enum from example X-Git-Tag: v2.0-rc1~106^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=948a2ba23af4bee60849d5d90dc0f6f28bef6cc0;p=esp-idf uart driver: Remove invalid UART_BITRATE_115200 enum from example Closes github #92 https://github.com/espressif/esp-idf/issues/92 --- diff --git a/components/driver/include/driver/uart.h b/components/driver/include/driver/uart.h index c788374bdc..68d02a5e0a 100644 --- a/components/driver/include/driver/uart.h +++ b/components/driver/include/driver/uart.h @@ -648,7 +648,7 @@ esp_err_t uart_enable_pattern_det_intr(uart_port_t uart_num, char pattern_chr, u * //a. Set UART parameter * int uart_num = 0; //uart port number * uart_config_t uart_config = { - * .baud_rate = UART_BITRATE_115200, //baudrate + * .baud_rate = 115200, //baudrate * .data_bits = UART_DATA_8_BITS, //data bit mode * .parity = UART_PARITY_DISABLE, //parity mode * .stop_bits = UART_STOP_BITS_1, //stop bit mode