Skip to content

Commit 5e1ed9d

Browse files
authored
Merge pull request hathach#2187 from 0xCCF4/master
Fixed typo in binary declaration RP2040 hw bspw family.c
2 parents ce54984 + 8226b04 commit 5e1ed9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/bsp/rp2040/family.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ void board_init(void)
149149
#endif
150150

151151
#ifdef UART_DEV
152-
bi_decl(bi_2pins_with_func(UART_TX_PIN, UART_TX_PIN, GPIO_FUNC_UART));
152+
bi_decl(bi_2pins_with_func(UART_TX_PIN, UART_RX_PIN, GPIO_FUNC_UART));
153153
uart_inst = uart_get_instance(UART_DEV);
154154
stdio_uart_init_full(uart_inst, CFG_BOARD_UART_BAUDRATE, UART_TX_PIN, UART_RX_PIN);
155155
#endif

0 commit comments

Comments
 (0)