Skip to content

Commit dbf0761

Browse files
YaochengerCopilot
andauthored
Update bsp/gd32/arm/libraries/gd32_drivers/drv_usart.c
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ce93b89 commit dbf0761

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bsp/gd32/arm/libraries/gd32_drivers/drv_usart.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,8 @@ static const struct gd32_uart uart_obj[] = {
555555
GPIOC, GPIO_AF_8, GPIO_PIN_7, /* rx port, rx alternate, rx pin */
556556
#elif defined (SOC_SERIES_GD32H7xx)
557557
GPIOC, GPIO_AF_7, GPIO_PIN_6, // tx port, tx alternate, tx pin
558-
GPIOC, GPIO_AF_7, GPIO_PIN_7, // rx port, rx alternate, rx pin
558+
GPIOC, GPIO_AF_7, GPIO_PIN_6, /* tx port, tx alternate, tx pin */
559+
GPIOC, GPIO_AF_7, GPIO_PIN_7, /* rx port, rx alternate, rx pin */
559560
#elif defined SOC_SERIES_GD32E50x
560561
GPIOC, AFIO_PC6_USART5_CFG, GPIO_PIN_6, /* tx port, tx alternate, tx pin */
561562
GPIOC, AFIO_PC7_USART5_CFG, GPIO_PIN_7, /* rx port, rx alternate, rx pin */

0 commit comments

Comments
 (0)