mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 21:47:04 +03:00
get ready for 4.4
This commit is contained in:
@@ -290,10 +290,10 @@ void initialize_console() {
|
|||||||
/* Configure UART. Note that REF_TICK is used so that the baud rate remains
|
/* Configure UART. Note that REF_TICK is used so that the baud rate remains
|
||||||
* correct while APB frequency is changing in light sleep mode.
|
* correct while APB frequency is changing in light sleep mode.
|
||||||
*/
|
*/
|
||||||
const uart_config_t uart_config = { .baud_rate =
|
const uart_config_t uart_config = { .baud_rate = CONFIG_ESP_CONSOLE_UART_BAUDRATE,
|
||||||
CONFIG_ESP_CONSOLE_UART_BAUDRATE, .data_bits = UART_DATA_8_BITS,
|
.data_bits = UART_DATA_8_BITS,
|
||||||
.parity = UART_PARITY_DISABLE, .stop_bits = UART_STOP_BITS_1,
|
.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));
|
ESP_ERROR_CHECK(uart_param_config(CONFIG_ESP_CONSOLE_UART_NUM, &uart_config));
|
||||||
|
|
||||||
/* Install UART driver for interrupt-driven reads and writes */
|
/* Install UART driver for interrupt-driven reads and writes */
|
||||||
|
|||||||
Reference in New Issue
Block a user