Skip to content

Commit

Permalink
Merge pull request micropython#8331 from RetiredWizard/baudrt
Browse files Browse the repository at this point in the history
utilize CIRCUITPY_CONSOLE_UART_BAUDRATE parameter
  • Loading branch information
tannewt committed Aug 25, 2023
2 parents ee2207d + 8fbde14 commit 14b26b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor/shared/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 14b26b5

Please sign in to comment.