From 8fbde14286a6dd0433136ee1396f23797e964de8 Mon Sep 17 00:00:00 2001 From: RetiredWizard Date: Thu, 24 Aug 2023 14:50:23 -0400 Subject: [PATCH] utilize CIRCUITPY_CONSOLE_UART_BAUDRATE parameter --- supervisor/shared/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/shared/serial.c b/supervisor/shared/serial.c index 7bf10ae530..a78ed77f1f 100644 --- a/supervisor/shared/serial.c +++ b/supervisor/shared/serial.c @@ -140,7 +140,7 @@ void serial_early_init(void) { const mcu_pin_obj_t *console_tx = MP_OBJ_TO_PTR(CIRCUITPY_CONSOLE_UART_TX); common_hal_busio_uart_construct(&console_uart, console_tx, console_rx, NULL, NULL, NULL, - false, 115200, 8, BUSIO_UART_PARITY_NONE, 1, 1.0f, sizeof(console_uart_rx_buf), + false, CIRCUITPY_CONSOLE_UART_BAUDRATE, 8, BUSIO_UART_PARITY_NONE, 1, 1.0f, sizeof(console_uart_rx_buf), console_uart_rx_buf, true); common_hal_busio_uart_never_reset(&console_uart);