Merge pull request #2187 from 0xCCF4/master

Fixed typo in binary declaration RP2040 hw bspw family.c
This commit is contained in:
Ha Thach 2023-08-01 17:55:40 +07:00 committed by GitHub
commit 5e1ed9d580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ void board_init(void)
#endif
#ifdef UART_DEV
bi_decl(bi_2pins_with_func(UART_TX_PIN, UART_TX_PIN, GPIO_FUNC_UART));
bi_decl(bi_2pins_with_func(UART_TX_PIN, UART_RX_PIN, GPIO_FUNC_UART));
uart_inst = uart_get_instance(UART_DEV);
stdio_uart_init_full(uart_inst, CFG_BOARD_UART_BAUDRATE, UART_TX_PIN, UART_RX_PIN);
#endif