summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0xCCF4 <[email protected]>2023-07-28 11:19:08 +0200
committerGitHub <[email protected]>2023-07-28 11:19:08 +0200
commit8226b046a99a25f483f99fe44c29066f3f1d7f7b (patch)
tree5a2775fbfab1a6af66f180e3557007ccf44e57cf
parentdb59494b1b24f7dad26c5c66c85a195a2cf09466 (diff)
Fixed typo in rp2040 hw bspw family.c
-rw-r--r--hw/bsp/rp2040/family.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/rp2040/family.c b/hw/bsp/rp2040/family.c
index 097e6fbd6..40e3f11cd 100644
--- a/hw/bsp/rp2040/family.c
+++ b/hw/bsp/rp2040/family.c
@@ -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