diff options
| author | Ha Thach <[email protected]> | 2023-08-01 17:55:40 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-01 17:55:40 +0700 |
| commit | 5e1ed9d58070ea58eea0926035b8f015ad241748 (patch) | |
| tree | 6bee7883e0265ddd041b2d69307b7f9f17e77468 | |
| parent | ce54984556c79fbe534c042c1bc844cfee0d888e (diff) | |
| parent | 8226b046a99a25f483f99fe44c29066f3f1d7f7b (diff) | |
Merge pull request #2187 from 0xCCF4/master
Fixed typo in binary declaration RP2040 hw bspw family.c
| -rw-r--r-- | hw/bsp/rp2040/family.c | 2 |
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 |
