From 3fb1c16f56d683028b553b064ce0e5f206d53be3 Mon Sep 17 00:00:00 2001 From: Philippe G Date: Thu, 13 Jan 2022 13:08:45 -0800 Subject: [PATCH] get ready for 4.4 --- components/platform_console/platform_console.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/platform_console/platform_console.c b/components/platform_console/platform_console.c index 11104a0a..999d63b7 100644 --- a/components/platform_console/platform_console.c +++ b/components/platform_console/platform_console.c @@ -290,10 +290,10 @@ void initialize_console() { /* Configure UART. Note that REF_TICK is used so that the baud rate remains * correct while APB frequency is changing in light sleep mode. */ - const uart_config_t uart_config = { .baud_rate = - CONFIG_ESP_CONSOLE_UART_BAUDRATE, .data_bits = UART_DATA_8_BITS, + const uart_config_t uart_config = { .baud_rate = CONFIG_ESP_CONSOLE_UART_BAUDRATE, + .data_bits = UART_DATA_8_BITS, .parity = UART_PARITY_DISABLE, .stop_bits = UART_STOP_BITS_1, - .use_ref_tick = true }; + }; ESP_ERROR_CHECK(uart_param_config(CONFIG_ESP_CONSOLE_UART_NUM, &uart_config)); /* Install UART driver for interrupt-driven reads and writes */