]> granicus.if.org Git - esp-idf/commitdiff
uart driver: Remove invalid UART_BITRATE_115200 enum from example
authorAngus Gratton <angus@espressif.com>
Thu, 22 Dec 2016 02:44:50 +0000 (13:44 +1100)
committerAngus Gratton <angus@espressif.com>
Tue, 27 Dec 2016 23:17:56 +0000 (10:17 +1100)
Closes github #92 https://github.com/espressif/esp-idf/issues/92

components/driver/include/driver/uart.h

index c788374bdc40e95f5976ac0e8a51a4c3b93f6f4f..68d02a5e0a04a20aeead1d1139a7f5639fed84a4 100644 (file)
@@ -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