We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50e7ae7 commit 7c2c3ddCopy full SHA for 7c2c3dd
bsp/stm32f40x/drivers/usart.c
@@ -165,8 +165,8 @@ static void GPIO_Configuration(void)
165
GPIO_Init(UART3_GPIO, &GPIO_InitStructure);
166
167
/* Connect alternate function */
168
- GPIO_PinAFConfig(UART2_GPIO, UART3_TX_PIN_SOURCE, GPIO_AF_USART3);
169
- GPIO_PinAFConfig(UART2_GPIO, UART3_RX_PIN_SOURCE, GPIO_AF_USART3);
+ GPIO_PinAFConfig(UART3_GPIO, UART3_TX_PIN_SOURCE, GPIO_AF_USART3);
+ GPIO_PinAFConfig(UART3_GPIO, UART3_RX_PIN_SOURCE, GPIO_AF_USART3);
170
#endif
171
}
172
0 commit comments