Skip to content

Commit 14b26b5

Browse files
authored
Merge pull request micropython#8331 from RetiredWizard/baudrt
utilize CIRCUITPY_CONSOLE_UART_BAUDRATE parameter
2 parents ee2207d + 8fbde14 commit 14b26b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervisor/shared/serial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void serial_early_init(void) {
140140
const mcu_pin_obj_t *console_tx = MP_OBJ_TO_PTR(CIRCUITPY_CONSOLE_UART_TX);
141141

142142
common_hal_busio_uart_construct(&console_uart, console_tx, console_rx, NULL, NULL, NULL,
143-
false, 115200, 8, BUSIO_UART_PARITY_NONE, 1, 1.0f, sizeof(console_uart_rx_buf),
143+
false, CIRCUITPY_CONSOLE_UART_BAUDRATE, 8, BUSIO_UART_PARITY_NONE, 1, 1.0f, sizeof(console_uart_rx_buf),
144144
console_uart_rx_buf, true);
145145
common_hal_busio_uart_never_reset(&console_uart);
146146

0 commit comments

Comments
 (0)