Skip to content

Commit

Permalink
fix ARTERY UART4 pin 'PH2&PH3' (#13108)
Browse files Browse the repository at this point in the history
  • Loading branch information
BAYCKRC committed Oct 11, 2023
1 parent b4ff2ad commit 5d16fee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/drivers/at32/serial_uart_at32f43x.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,12 @@ const uartHardware_t uartHardware[UARTDEV_COUNT] = {
.rxPins = {
{ DEFIO_TAG_E(PA1), GPIO_MUX_8 },
{ DEFIO_TAG_E(PC11), GPIO_MUX_8 },
{ DEFIO_TAG_E(PH2), GPIO_MUX_8 },
},
.txPins = {
{ DEFIO_TAG_E(PA0), GPIO_MUX_8 },
{ DEFIO_TAG_E(PC10), GPIO_MUX_8 },
{ DEFIO_TAG_E(PH3), GPIO_MUX_8 },
},
.rcc = RCC_APB1(UART4),
.irqn = UART4_IRQn,
Expand Down

0 comments on commit 5d16fee

Please sign in to comment.